MCPcopy Create free account

hub / github.com/GeometryCollective/ddg-exercises / functions

Functions245 in github.com/GeometryCollective/ddg-exercises

↓ 1 callersFunctioninitializeParameterizations
Initalize objects for parameterization -- done once on program startup
projects/parameterization/src/main.cpp:164
↓ 1 callersFunctioninterpolateWachspressWhitney
* Create dual 1-form visualization, since Polyscope's 1-form visualization function only takes triangles. Adapted from * JS version of this assignmen
projects/discrete-exterior-calculus/src/main.cpp:414
↓ 1 callersFunctioninterpolateWhitney
* Instead of using Polyscope's addOneFormIntrinsicVectorQuantity(), for better control of the visualization. */
projects/discrete-exterior-calculus/src/main.cpp:373
↓ 1 callersFunctionisPlanar
* Check if mesh is planar. */
projects/discrete-exterior-calculus/src/main.cpp:608
↓ 1 callersFunctionmapToMeshData
* Convert map to mesh positions. */
projects/parameterization/src/main.cpp:68
↓ 1 callersFunctionmidpoint
* Compute the midpoint of a halfedge. */
projects/discrete-exterior-calculus/src/main.cpp:112
↓ 1 callersFunctionpointToSegmentDistance
* Helper function for interpolateWachspressWhitney(). Computes the distance from a point <p> to the segment with * endpoint <a> and direction <u>. *
projects/discrete-exterior-calculus/src/main.cpp:364
↓ 1 callersFunctionredraw
projects/parameterization/src/main.cpp:60
↓ 1 callersMethodsatsifyGaussBonnet
* Determine if a mesh satisfies Gauss-Bonnet. * * Input: A vector where the ith entry is the the index of the singularity at the ith vertex. * Retu
projects/direction-field-design/src/trivial-connections.cpp:43
↓ 1 callersFunctionsetColors
Set mesh color.
projects/poisson-problem/src/main.cpp:123
↓ 1 callersFunctionsetColors
Set mesh color.
projects/geodesic-distance/src/main.cpp:73
↓ 1 callersFunctionshowDiagram
* Display the operator diagram. */
projects/discrete-exterior-calculus/src/main.cpp:240
↓ 1 callersFunctionshowIsolines
* Display isolines. */
projects/geodesic-distance/src/main.cpp:82
↓ 1 callersFunctionshowSelected
* Show selected vertices. * This function gets called every time an element is selected on-screen. */
projects/direction-field-design/src/main.cpp:53
↓ 1 callersFunctionshowSelected
* Show selected vertices. * This function gets called every time an element is selected on-screen. */
projects/poisson-problem/src/main.cpp:59
↓ 1 callersFunctionshowSelected
* Display the selected simplices. * TODO: Use SurfaceVertexCountQuantity* SurfaceMesh::addVertexCountQuantity, etc. instead of SurfaceGraphQuantity f
projects/simplicial-complex-operators/src/main.cpp:59
↓ 1 callersFunctionshowSelected
* Show selected vertices. * This function gets called every time an element is selected on-screen. */
projects/geodesic-distance/src/main.cpp:122
↓ 1 callersMethodsubtractMinimumDistance
* Shift φ such that its minimum value is zero. */
projects/geodesic-distance/include/heat-method.h:25
↓ 1 callersMethodtotalArea
* Compute the total surface area of the mesh. * * Input: * Returns: The surface area of the mesh. */
core/src/geometry.cpp:66
↓ 1 callersMethodtransportNoRotation
* Given an initial angle αi in face i, this function computes the new angle αj in the neighboring face j as * αj = αi - θij + θji, where θij and θji
projects/direction-field-design/src/trivial-connections.cpp:72
↓ 1 callersFunctionupdate
Solve and update mesh colors.
projects/poisson-problem/src/main.cpp:129
↓ 1 callersFunctionupdateColorsDualForm
projects/discrete-exterior-calculus/src/main.cpp:553
↓ 1 callersFunctionupdateColorsPrimalForm
projects/discrete-exterior-calculus/src/main.cpp:520
↓ 1 callersMethodvertexNormalEquallyWeighted
* Computes the normal at a vertex using the "equally weighted" method. * * Input: The vertex on which the normal is to be computed. * Returns: The
core/src/geometry.cpp:130
MethodDiscreteCurvaturesAndNormalsTest
Constructor
projects/discrete-curvatures-and-normals/src/test-curv.cpp:35
MethodDiscreteExteriorCalculusTest
constructor
projects/discrete-exterior-calculus/src/test-dec.cpp:35
MethodDistortion
Constructor * Input: The surface mesh <surfaceMesh> and geometry <geo>. */
utils/src/distortion.cpp:10
MethodDistortion
utils/include/distortion.h:17
MethodHarmonicBases
* Constructor * Input: The surface mesh <inputMesh> and geometry <inputGeo>. */
projects/vector-field-decomposition/src/harmonic-bases.cpp:8
MethodHarmonicBases
projects/vector-field-decomposition/include/harmonic-bases.h:17
MethodHarmonicBasesTest
projects/vector-field-decomposition/src/test-decomp.cpp:125
MethodHeatMethod
Constructor * Input: The surface mesh <inputMesh> and geometry <inputGeo>. */
projects/geodesic-distance/src/heat-method.cpp:10
MethodHeatMethod
projects/geodesic-distance/include/heat-method.h:15
MethodHeatMethodTest
projects/geodesic-distance/src/test-heat.cpp:24
MethodHodgeDecomposition
* Constructor * Input: The surface mesh <inputMesh> and geometry <inputGeo>. */
projects/vector-field-decomposition/src/hodge-decomposition.cpp:8
MethodHodgeDecomposition
projects/vector-field-decomposition/include/hodge-decomposition.h:28
MethodHodgeDecompositionTest
projects/vector-field-decomposition/src/test-decomp.cpp:25
MethodMeanCurvatureFlow
Constructor * Input: The surface mesh <inputMesh> and geometry <inputGeo>. */
projects/geometric-flow/src/mean-curvature-flow.cpp:7
MethodMeanCurvatureFlow
constructors
projects/geometric-flow/include/mean-curvature-flow.h:16
MethodMeanCurvatureFlowTest
projects/geometric-flow/src/test-flow.cpp:94
MethodMeshSubset
Initialize an empty MeshSubset. */
core/include/mesh_subset.h:13
MethodModifiedMeanCurvatureFlow
Constructor * Input: The surface mesh <inputMesh> and geometry <inputGeo>. */
projects/geometric-flow/src/modified-mean-curvature-flow.cpp:7
MethodModifiedMeanCurvatureFlow
projects/geometric-flow/include/modified-mean-curvature-flow.h:14
MethodModifiedMeanCurvatureFlowTest
projects/geometric-flow/src/test-flow.cpp:109
MethodScalarPoissonProblem
Constructor * Input: The surface mesh <inputMesh> and geometry <inputGeo>. */
projects/poisson-problem/src/scalar-poisson-problem.cpp:7
MethodScalarPoissonProblem
constructors
projects/poisson-problem/include/scalar-poisson-problem.h:17
MethodScalarPoissonProblemTest
projects/poisson-problem/src/test-spp.cpp:23
MethodSimplicialComplexOperators
Constructors
projects/simplicial-complex-operators/include/simplicial-complex-operators.h:20
MethodSimplicialComplexOperatorsTest
* Load in the bunny mesh to test on. */
projects/simplicial-complex-operators/src/test-sco.cpp:22
MethodSpectralConformalParameterization
Constructor * Input: The surface mesh <inputMesh> and geometry <inputGeo>. */
projects/parameterization/src/spectral-conformal-parameterization.cpp:7
MethodSpectralConformalParameterization
projects/parameterization/include/spectral-conformal-parameterization.h:17
MethodSpectralConformalParameterizationTest
projects/parameterization/src/test-param.cpp:21
FunctionTEST_F
projects/direction-field-design/src/test-connect.cpp:154
FunctionTEST_F
Some sanity checks for the Laplace matrix and mass matrix.
projects/poisson-problem/src/test-spp.cpp:114
FunctionTEST_F
projects/discrete-exterior-calculus/src/test-dec.cpp:159
FunctionTEST_F
projects/vector-field-decomposition/src/test-decomp.cpp:134
FunctionTEST_F
projects/parameterization/src/test-param.cpp:97
FunctionTEST_F
projects/simplicial-complex-operators/src/test-sco.cpp:95
FunctionTEST_F
projects/discrete-curvatures-and-normals/src/test-curv.cpp:152
FunctionTEST_F
projects/geodesic-distance/src/test-heat.cpp:120
FunctionTEST_F
Some sanity checks for the Laplace matrix (same as from poisson-problem)
projects/geometric-flow/src/test-flow.cpp:117
MethodTreeCotree
* Constructor * Input: The surface mesh <inputMesh> and geometry <inputGeo>. */
projects/vector-field-decomposition/src/tree-cotree.cpp:8
MethodTreeCotree
projects/vector-field-decomposition/include/tree-cotree.h:22
MethodTrivialConnections
* Constructor * Input: The surface mesh <inputMesh> and geometry <inputGeo>. */
projects/direction-field-design/src/trivial-connections.cpp:8
MethodTrivialConnections
projects/direction-field-design/include/trivial-connections.h:22
MethodTrivialConnectionsSphereTest
projects/direction-field-design/src/test-connect.cpp:145
MethodTrivialConnectionsTest
projects/direction-field-design/src/test-connect.cpp:28
MethodaddEdge
Add an edge to this subset. */
core/include/mesh_subset.h:59
MethodaddFace
Add a face to this subset. */
core/include/mesh_subset.h:83
MethodaddSubset
Adds a subset's vertices, edges, and faces to this subset. */
core/include/mesh_subset.h:113
MethodaddVertex
Add a vertex to this subset. */
core/include/mesh_subset.h:35
MethodassignElementIndices
* Assign a unique index to each vertex, edge, and face of a mesh. * All elements are 0-indexed. * * Input: None. Access geometry via the member var
projects/simplicial-complex-operators/src/simplicial-complex-operators.cpp:14
MethodbuildClosedPrimalOneForm
* Build a closed, but not exact, primal 1-form ω. * * Input: A std::vector of Halfedges representing a homology generator of the mesh. * Returns: A
projects/vector-field-decomposition/src/harmonic-bases.cpp:20
MethodbuildDualSpanningCoTree
* Build a dual spanning tree on a mesh without boundary. More specificially, populate the member variable <faceParent>, * which is a std::map that ma
projects/vector-field-decomposition/src/tree-cotree.cpp:46
MethodbuildFlowOperator
* Build the mean curvature flow operator. * * Input: The mass matrix <M> of the mesh, and the timestep <h>. * Returns: A sparse matrix representing
projects/geometric-flow/src/modified-mean-curvature-flow.cpp:23
MethodbuildFlowOperator
* Build the mean curvature flow operator. * * Input: The mass matrix <M> of the mesh, and the timestep <h>. * Returns: A sparse matrix representing
projects/geometric-flow/src/mean-curvature-flow.cpp:20
MethodbuildPrimalSpanningTree
* Build a primal spanning tree on a mesh without boundary. More specifically, populate the member variable * <vertexParent>, which is a std::map that
projects/vector-field-decomposition/src/tree-cotree.cpp:22
MethodcomplexLaplaceMatrix
* Builds the sparse complex POSITIVE DEFINITE Laplace matrix. Do this by building the negative semidefinite Laplace * matrix, multiplying by -1, and
core/src/geometry.cpp:289
MethodcomputeAreaScalingPerFace
* Compute the area scaling of the given face. * * Input: A Face in the original mesh, and the parameterization. * Returns: The area scaling of the
utils/src/distortion.cpp:120
MethodcomputeCoExactComponent
* Compute the dual 0-form potential β by solving the system d𝛿β = -K + 2π * singularity. * * Input: A vector where the ith entry is the the index of
projects/direction-field-design/src/trivial-connections.cpp:54
MethodcomputeHarmonicComponent
* Compute the harmonic component γ = ∑_{i = 1, ..., 2g} zi ξi by solving the system Pz = v - ∑𝛿β. * v - ∑𝛿β should be normalized to lie between -π an
projects/direction-field-design/src/trivial-connections.cpp:96
MethodcomputeQuasiConformalErrorPerFace
* Compute the area-weighted quasi-conformal error of the given face. * See "geometric stretch metric" in http://hhoppe.com/ssp.pdf for more details.
utils/src/distortion.cpp:22
Methodcotan
* Computes the cotangent of the angle opposite to a halfedge. (Do NOT use built-in function for this) * * Input: The halfedge whose cotan weight is
core/src/geometry.cpp:81
MethoddeepCopy
Make a deep copy of the input MeshSubset and return it as a new * MeshSubset. */
core/include/mesh_subset.h:26
MethoddeleteEdge
Delete an edge from this subset. */
core/include/mesh_subset.h:71
MethoddeleteFace
Delete a face from this subset. */
core/include/mesh_subset.h:95
MethoddeleteSubset
Removes a subset's vertices, edges, and faces from this subset. */
core/include/mesh_subset.h:120
MethoddeleteVertex
Delete a vertex from this subset. */
core/include/mesh_subset.h:47
FunctionfunctionCallback
* User-defined buttons */
projects/direction-field-design/src/main.cpp:138
FunctionfunctionCallback
projects/poisson-problem/src/main.cpp:135
FunctionfunctionCallback
* User-defined buttons */
projects/discrete-exterior-calculus/src/main.cpp:692
FunctionfunctionCallback
* User-defined buttons */
projects/vector-field-decomposition/src/main.cpp:353
FunctionfunctionCallback
projects/parameterization/src/main.cpp:83
FunctionfunctionCallback
* Buttons for the simplicial operators. */
projects/simplicial-complex-operators/src/main.cpp:110
FunctionfunctionCallback
projects/discrete-curvatures-and-normals/src/main.cpp:180
FunctionfunctionCallback
projects/geodesic-distance/src/main.cpp:156
FunctionfunctionCallback
* User-defined buttons */
projects/geometric-flow/src/main.cpp:66
MethodinDualSpanningCotree
* Check whether a halfedge is in the dual spanning tree. * * Input: A halfedge <he> * Returns: True if <he> is in the dual spanning tree, false oth
projects/vector-field-decomposition/src/tree-cotree.cpp:57
MethodinPrimalSpanningTree
* Check whether a halfedge is in the primal spanning tree. * * Input: A halfedge <he> * Returns: True if <he> is in the primal spanning tree, false
projects/vector-field-decomposition/src/tree-cotree.cpp:33
MethodintializeSolution
projects/direction-field-design/src/test-connect.cpp:32
← previousnext →101–200 of 245, ranked by callers