MCPcopy Create free account

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

Functions245 in github.com/GeometryCollective/ddg-exercises

↓ 14 callersFunctionmapToColor
* Map a given value <x> to a RGB value in the given colormap. */
utils/src/colormap.cpp:1188
↓ 14 callersMethodnormalize
* Centers a mesh about the origin. * Also rescales the mesh to unit radius if <rescale> == true. */
core/src/geometry.cpp:314
↓ 7 callersMethodmeanEdgeLength
* Compute the mean length of all the edges in the mesh. * * Input: * Returns: The mean edge length. */
core/src/geometry.cpp:51
↓ 6 callersFunctioncircumcenter
* Computes the circumcenter of a face. */
projects/discrete-exterior-calculus/src/main.cpp:122
↓ 5 callersFunctionredraw
projects/simplicial-complex-operators/src/main.cpp:102
↓ 5 callersMethodsolve
* Computes the solution of the poisson problem Ax = -M(rho - rhoBar), where A is the POSITIVE DEFINITE Laplace matrix * and M is the mass matrix. *
projects/poisson-problem/src/scalar-poisson-problem.cpp:25
↓ 4 callersMethodbarycentricDualArea
* Computes the barycentric dual area of a vertex. * * Input: The vertex whose barycentric dual area is to be computed. * Returns: The barycentric d
core/src/geometry.cpp:93
↓ 4 callersMethodboundary
* Compute the set of simplices contained in the boundary bd(S) of the selected subset S of simplices. * * Input: A MeshSubset object containing the
projects/simplicial-complex-operators/src/simplicial-complex-operators.cpp:183
↓ 4 callersFunctioncentroid
projects/vector-field-decomposition/src/main.cpp:70
↓ 4 callersMethodclosure
* Compute the closure Cl(S) of the selected subset of simplices. * * Input: A MeshSubset object containing the indices of the currently active verti
projects/simplicial-complex-operators/src/simplicial-complex-operators.cpp:134
↓ 4 callersMethodeulerCharacteristic
* Compute the Euler characteristic of the mesh. */
core/src/geometry.cpp:41
↓ 4 callersMethodintegrate
* Performs mean curvature flow. * * Input: The timestep <h>. * Returns: */
projects/geometric-flow/src/mean-curvature-flow.cpp:32
↓ 4 callersFunctionsparseInverseDiagonal
* Compute the inverse of a sparse diagonal matrix. * * Input: A sparse diagonal matrix <M>. * Returns: The inverse of M, which is also a sparse dia
utils/src/solvers.cpp:9
↓ 4 callersMethodstar
* Compute the simplicial star St(S) of the selected subset of simplices. * * Input: A MeshSubset object containing the indices of the currently acti
projects/simplicial-complex-operators/src/simplicial-complex-operators.cpp:121
↓ 3 callersMethodbuildExteriorDerivative0Form
* Build exterior derivative on 0-forms. * * Input: * Returns: A sparse matrix representing the exterior derivative that can be applied to discrete
core/src/discrete-exterior-calculus.cpp:79
↓ 3 callersMethodbuildExteriorDerivative1Form
* Build exterior derivative on 1-forms. * * Input: * Returns: A sparse matrix representing the exterior derivative that can be applied to discrete
core/src/discrete-exterior-calculus.cpp:91
↓ 3 callersMethodbuildHodgeStar1Form
* Build Hodge operator on 1-forms. * * Input: * Returns: A sparse diagonal matrix representing the Hodge operator that can be applied to discrete 1
core/src/discrete-exterior-calculus.cpp:55
↓ 3 callersFunctiongenerateRandomFormOnVertices
projects/discrete-exterior-calculus/src/main.cpp:278
↓ 3 callersMethodlaplaceMatrix
* Builds the sparse POSITIVE DEFINITE Laplace matrix. Do this by building the negative semidefinite Laplace matrix, * multiplying by -1, and shifting
core/src/geometry.cpp:264
↓ 3 callersFunctionredraw
projects/discrete-exterior-calculus/src/main.cpp:670
↓ 3 callersFunctionupdateVis
* Enable/disable visualizations depending on which one is selected. * This would be a lot more efficient if all the vis structures were in an array
projects/vector-field-decomposition/src/main.cpp:264
↓ 3 callersMethodvertexNormalGaussianCurvature
* Computes the normal at a vertex using the "Gauss curvature" method. * * Input: The vertex on which the normal is to be computed. * Returns: The "
core/src/geometry.cpp:178
↓ 3 callersMethodvertexNormalMeanCurvature
* Computes the normal at a vertex using the "mean curvature" method (equivalent to the "area gradient" method). * * Input: The vertex on which the n
core/src/geometry.cpp:190
↓ 2 callersMethodangleDefect
* Computes the angle defect at a vertex. * * Input: The vertex whose angle defect is to be computed. * Returns: The angle defect of the given verte
core/src/geometry.cpp:202
↓ 2 callersMethodbuildFaceEdgeAdjacencyMatrix
* Construct the unsigned face-edge adjacency matrix A1. * * Input: * Returns: The sparse face-edge adjacency matrix which gets stored in the global
projects/simplicial-complex-operators/src/simplicial-complex-operators.cpp:73
↓ 2 callersMethodbuildGenerators
* Compute the homology generators of the mesh. * * Input: * Returns: */
projects/vector-field-decomposition/src/tree-cotree.cpp:87
↓ 2 callersMethodbuildHodgeStar0Form
* Build Hodge operator on 0-forms. * By convention, the area of a vertex is 1. * * Input: * Returns: A sparse diagonal matrix representing the Hod
core/src/discrete-exterior-calculus.cpp:43
↓ 2 callersMethodbuildHodgeStar2Form
* Build Hodge operator on 2-forms. * * Input: * Returns: A sparse diagonal matrix representing the Hodge operator that can be applied to discrete 2
core/src/discrete-exterior-calculus.cpp:67
↓ 2 callersMethodbuildVertexEdgeAdjacencyMatrix
* Construct the unsigned vertex-edge adjacency matrix A0. * * Input: * Returns: The sparse vertex-edge adjacency matrix which gets stored in the gl
projects/simplicial-complex-operators/src/simplicial-complex-operators.cpp:58
↓ 2 callersMethodcenterOfMass
* Compute the center of mass of a mesh. */
core/src/geometry.cpp:298
↓ 2 callersMethodcircumcentricDualArea
* Computes the circumcentric dual area of a vertex. * * Input: The vertex whose circumcentric dual area is to be computed. * Returns: The circumcen
core/src/geometry.cpp:238
↓ 2 callersMethodcompute
* Compute the harmonic bases [γ1, γ2 ... γn] of the input mesh. * * Input: A std::vector of homology generators of the mesh (which are in turn repre
projects/vector-field-decomposition/src/harmonic-bases.cpp:32
↓ 2 callersMethodcompute
* Computes the geodesic distances φ using the heat method. * * Input: <delta>, a dense vector representing the heat sources, i.e., u0 = δ(x). Return
projects/geodesic-distance/src/heat-method.cpp:52
↓ 2 callersMethodcomputeCoExactComponent
* Compute the 2-form potential β by solving the system d𝛿β = dω. * * Input: A primal 1-form on the edges of the input mesh. * Returns: The coexact
projects/vector-field-decomposition/src/hodge-decomposition.cpp:52
↓ 2 callersMethodcomputeConnections
* Compute the dual 1-form connections φ = 𝛿β + γ. * * Input: A vector where the ith entry is the the index of the singularity at the ith vertex. *
projects/direction-field-design/src/trivial-connections.cpp:108
↓ 2 callersMethodcomputeExactComponent
* Compute the 0-form potential α by solving the system 𝛿dα = 𝛿ω. * * Input: A primal 1-form on the edges of the input mesh. * Returns: The exact co
projects/vector-field-decomposition/src/hodge-decomposition.cpp:40
↓ 2 callersMethodcomputeHarmonicComponent
* Compute the harmonic component γ = ω - dα - 𝛿β of ω. * * Input: A primal 1-form <omega> on the edges of the input mesh, the exact component <dAlph
projects/vector-field-decomposition/src/hodge-decomposition.cpp:65
↓ 2 callersMethodequals
Returns true if subsets are equivalent. */
core/include/mesh_subset.h:107
↓ 2 callersMethodflatten
* Flattens the input surface mesh with 1 or more boundaries conformally. * * Input: * Returns: A MeshData container mapping each vertex to a vector
projects/parameterization/src/spectral-conformal-parameterization.cpp:33
↓ 2 callersFunctiongaussian
projects/discrete-exterior-calculus/src/main.cpp:274
↓ 2 callersMethodinitialize
Initialize
projects/simplicial-complex-operators/include/simplicial-complex-operators.h:29
↓ 2 callersMethodisComplex
* Return true if the selected subset is a simplicial complex, false otherwise. * * Input: A MeshSubset object containing the indices of the currentl
projects/simplicial-complex-operators/src/simplicial-complex-operators.cpp:158
↓ 2 callersMethodisPureComplex
* Check if the given subset S is a pure simplicial complex. If so, return the degree of the complex. Otherwise, return * -1. * * Input: A MeshSubse
projects/simplicial-complex-operators/src/simplicial-complex-operators.cpp:171
↓ 2 callersMethodlink
* Compute the link Lk(S) of the selected subset of simplices. * * Input: A MeshSubset object containing the indices of the currently active vertices
projects/simplicial-complex-operators/src/simplicial-complex-operators.cpp:146
↓ 2 callersFunctionminMaxFormValue
* Determine the min and max values in a matrix. * Used for determining roughly what the range for the colormap should be. */
projects/discrete-exterior-calculus/src/main.cpp:459
↓ 2 callersMethodprincipalCurvatures
* Computes the (pointwise) minimum and maximum principal curvature values at a vertex. * * Input: The vertex on which the principal curvatures need
core/src/geometry.cpp:250
↓ 2 callersFunctionrandomize
* Generate random form. */
projects/discrete-exterior-calculus/src/main.cpp:678
↓ 2 callersFunctionredraw
projects/direction-field-design/src/main.cpp:130
↓ 2 callersFunctionredraw
projects/poisson-problem/src/main.cpp:96
↓ 2 callersFunctionredraw
projects/geodesic-distance/src/main.cpp:151
↓ 2 callersFunctionredraw
projects/geometric-flow/src/main.cpp:58
↓ 2 callersMethodscalarMeanCurvature
* Computes the (integrated) scalar mean curvature at a vertex. * * Input: The vertex whose mean curvature is to be computed. * Returns: The mean cu
core/src/geometry.cpp:226
↓ 2 callersFunctionshowForm
* Visualize the current form. */
projects/discrete-exterior-calculus/src/main.cpp:620
↓ 2 callersMethodtotalAngleDefect
* Computes the total angle defect of the mesh. * * Input: * Returns: The total angle defect */
core/src/geometry.cpp:214
↓ 2 callersFunctionupdateDirectionField
projects/direction-field-design/src/main.cpp:90
↓ 2 callersFunctionupdateQuantities
* Update quantities when user generates new <omega>. */
projects/vector-field-decomposition/src/main.cpp:219
↓ 2 callersMethodvertexNormalAngleWeighted
* Computes the normal at a vertex using the "tip angle weights" method. * * Input: The vertex on which the normal is to be computed. * Returns: The
core/src/geometry.cpp:142
↓ 2 callersMethodvertexNormalAreaWeighted
* Computes the normal at a vertex using the "face area weights" method. * * Input: The vertex on which the normal is to be computed. * Returns: The
core/src/geometry.cpp:166
↓ 2 callersMethodvertexNormalSphereInscribed
* Computes the normal at a vertex using the "inscribed sphere" method. * * Input: The vertex on which the normal is to be computed. * Returns: The
core/src/geometry.cpp:154
↓ 1 callersFunctionLoadTextureFromFile
https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples
projects/discrete-exterior-calculus/src/main.cpp:203
↓ 1 callersFunctionaddCheckerboard
* Add checkerboard pattern to mesh */
projects/parameterization/src/main.cpp:150
↓ 1 callersMethodaddEdges
Add a set of edges to this subset. */
core/include/mesh_subset.h:64
↓ 1 callersMethodaddFaces
Add a set of faces to this subset. */
core/include/mesh_subset.h:88
↓ 1 callersMethodaddVertices
Add a set of vertices to this subset. */
core/include/mesh_subset.h:40
↓ 1 callersMethodangle
* Computes the angle (in radians) at a given corner. (Do NOT use built-in function for this) * * * Input: The corner at which the angle needs to be
core/src/geometry.cpp:106
↓ 1 callersFunctionbuildBasesVis
* Add visualizations for harmonic bases. */
projects/vector-field-decomposition/src/main.cpp:196
↓ 1 callersMethodbuildConformalEnergy
* Builds the complex conformal energy matrix EC = ED - A. * * Input: * Returns: A complex sparse matrix representing the conformal energy */
projects/parameterization/src/spectral-conformal-parameterization.cpp:20
↓ 1 callersMethodbuildEdgeVector
* Construct a vector encoding the edges in the selected subset of simplices. * * Input: Selected subset of simplices. * Returns: Vector of length |
projects/simplicial-complex-operators/src/simplicial-complex-operators.cpp:97
↓ 1 callersMethodbuildFaceVector
* Construct a vector encoding the faces in the selected subset of simplices. * * Input: Selected subset of simplices. * Returns: Vector of length |
projects/simplicial-complex-operators/src/simplicial-complex-operators.cpp:109
↓ 1 callersFunctionbuildGeneratorsGraph
* Create surface graph quantity representing the generators. */
projects/vector-field-decomposition/src/main.cpp:168
↓ 1 callersMethodbuildPeriodMatrix
* Builds the period matrix Pij = ∑_{ek ∈ li} (ξj)k, where li is the ith homology generator, ek is a dual edge in li and * ξj is the jth harmonic 1-fo
projects/direction-field-design/src/trivial-connections.cpp:32
↓ 1 callersFunctionbuildTreeCotreeGraph
* Create surface graph quantity representing the tree-cotree. */
projects/vector-field-decomposition/src/main.cpp:133
↓ 1 callersMethodbuildVertexVector
* Construct a vector encoding the vertices in the selected subset of simplices. * * Input: Selected subset of simplices. * Returns: Vector of lengt
projects/simplicial-complex-operators/src/simplicial-complex-operators.cpp:85
↓ 1 callersMethodcomputeAreaScaling
* Compute the average area scaling of the mesh resulting from a * parameterization algorithm. * * Input: The mesh parameterization, and a vector of
utils/src/distortion.cpp:148
↓ 1 callersFunctioncomputeColors
* Map solution to mesh colors. */
projects/poisson-problem/src/main.cpp:104
↓ 1 callersFunctioncomputeColors
* Map solution to mesh colors. */
projects/geodesic-distance/src/main.cpp:57
↓ 1 callersMethodcomputeDivergence
* Computes the integrated divergence ∇.X. * * Input: <X>, the vector field -∇u / |∇u| represented as a FaceData container * Returns: A dense vector
projects/geodesic-distance/src/heat-method.cpp:40
↓ 1 callersFunctioncomputeEulerCharacteristic
projects/vector-field-decomposition/src/main.cpp:66
↓ 1 callersFunctioncomputeNormals
Called once at start of program. */
projects/discrete-curvatures-and-normals/src/main.cpp:76
↓ 1 callersMethodcomputeQuasiConformalError
* Compute the average quasi-conformal error of the mesh resulting from a * parameterization algorithm. * * Input: The mesh parameterization, and a
utils/src/distortion.cpp:88
↓ 1 callersFunctioncomputeShaded
Computed once at start of program. */
projects/discrete-curvatures-and-normals/src/main.cpp:95
↓ 1 callersMethodcomputeVectorField
* Computes the vector field X = -∇u / |∇u|. * * Input: <u>, a dense vector representing the heat that is allowed to diffuse on the input mesh for a
projects/geodesic-distance/src/heat-method.cpp:28
↓ 1 callersFunctioncreateDualMesh
* Create dual mesh. */
projects/discrete-exterior-calculus/src/main.cpp:144
↓ 1 callersMethoddeleteEdges
Delete a set of edges from this subset. */
core/include/mesh_subset.h:76
↓ 1 callersMethoddeleteFaces
Delete a set of faces from this subset. */
core/include/mesh_subset.h:100
↓ 1 callersMethoddeleteVertices
Delete a set of vertices from this subset. */
core/include/mesh_subset.h:52
↓ 1 callersMethoddihedralAngle
* Computes the signed angle (in radians) between two adjacent faces. (Do NOT use built-in function for this) * * Input: The halfedge (shared by the
core/src/geometry.cpp:118
↓ 1 callersFunctionflipZ
projects/direction-field-design/src/main.cpp:37
↓ 1 callersFunctionflipZ
projects/poisson-problem/src/main.cpp:43
↓ 1 callersFunctionflipZ
projects/discrete-exterior-calculus/src/main.cpp:93
↓ 1 callersFunctionflipZ
projects/vector-field-decomposition/src/main.cpp:50
↓ 1 callersFunctionflipZ
projects/parameterization/src/main.cpp:43
↓ 1 callersFunctionflipZ
projects/simplicial-complex-operators/src/main.cpp:42
↓ 1 callersFunctionflipZ
projects/discrete-curvatures-and-normals/src/main.cpp:59
↓ 1 callersFunctionflipZ
projects/geodesic-distance/src/main.cpp:42
↓ 1 callersFunctionflipZ
projects/geometric-flow/src/main.cpp:42
↓ 1 callersFunctiongenerateRandomFormOnEdges
projects/discrete-exterior-calculus/src/main.cpp:323
↓ 1 callersFunctiongenerateRandomFormOnFaces
projects/discrete-exterior-calculus/src/main.cpp:301
↓ 1 callersFunctiongenerateRandomOneForm
projects/vector-field-decomposition/src/main.cpp:80
↓ 1 callersFunctionhsv
* Computes the hue, saturation, and value of the RGB color model. */
utils/src/colormap.cpp:1224
next →1–100 of 245, ranked by callers