TTK
|
CompactTriangulation is a class implemented based on the TopoCluster data structure, which is a localized data structure for simplicial meshes. The key idea of TopoCluster is to subdivide the simplicial mesh into clusters. Then, the connectivity information is computed locally for each cluster and discarded when it is no longer needed. The simplicial mesh needs to be subdivided before using TopoCluster, i.e., there has to be a scalar field named "ttkCompactTriangulationIndex" to denote the cluster index of each vertex. Note Topocluster will reindex the simplices based on the clustering input array. Related publications
"TopoCluster: A Localized Data Structure for Topology-based Visualization" Guoxi Liu, Federico Iuricich, Riccardo Fellegara, and Leila De Floriani IEEE Transactions on Visualization and Computer Graphics, 2021.
More...
#include <CompactTriangulation.h>
Public Member Functions | |
CompactTriangulation () | |
CompactTriangulation (const CompactTriangulation &rhs) | |
CompactTriangulation & | operator= (const CompactTriangulation &rhs) |
~CompactTriangulation () override | |
CompactTriangulation (CompactTriangulation &&rhs)=default | |
CompactTriangulation & | operator= (CompactTriangulation &&rhs)=default |
int | setInputPoints (const SimplexId &pointNumber, const void *pointSet, const int *indexArray, const bool &doublePrecision=false) |
int | setInputCells (const SimplexId &cellNumber, const LongSimplexId *cellArray) |
int | reorderVertices (std::vector< SimplexId > &vertexMap) |
int | reorderCells (const std::vector< SimplexId > &vertexMap, const SimplexId &cellNumber, const LongSimplexId *connectivity, const LongSimplexId *offset) |
int | reorderCells (const std::vector< SimplexId > &vertexMap, const LongSimplexId *cellArray) |
int | getCellEdgeInternal (const SimplexId &cellId, const int &localEdgeId, SimplexId &edgeId) const override |
SimplexId | getCellEdgeNumberInternal (const SimplexId &cellId) const override |
const std::vector< std::vector< SimplexId > > * | getCellEdgesInternal () override |
int TTK_TRIANGULATION_INTERNAL() | getCellNeighbor (const SimplexId &cellId, const int &localNeighborId, SimplexId &neighborId) const override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getCellNeighborNumber (const SimplexId &cellId) const override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getCellNeighbors () override |
int | getCellTriangleInternal (const SimplexId &cellId, const int &localTriangleId, SimplexId &triangleId) const override |
SimplexId | getCellTriangleNumberInternal (const SimplexId &cellId) const override |
const std::vector< std::vector< SimplexId > > * | getCellTrianglesInternal () override |
int TTK_TRIANGULATION_INTERNAL() | getCellVertex (const SimplexId &cellId, const int &localVertexId, SimplexId &vertexId) const override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getCellVertexNumber (const SimplexId &cellId) const override |
int TTK_TRIANGULATION_INTERNAL() | getDimensionality () const override |
const std::vector< std::array< SimplexId, 2 > > *TTK_TRIANGULATION_INTERNAL() | getEdges () override |
int TTK_TRIANGULATION_INTERNAL() | getEdgeLink (const SimplexId &edgeId, const int &localLinkId, SimplexId &linkId) const override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getEdgeLinkNumber (const SimplexId &edgeId) const override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getEdgeLinks () override |
int TTK_TRIANGULATION_INTERNAL() | getEdgeStar (const SimplexId &edgeId, const int &localStarId, SimplexId &starId) const override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getEdgeStarNumber (const SimplexId &edgeId) const override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getEdgeStars () override |
int | getEdgeTriangleInternal (const SimplexId &edgeId, const int &localTriangleId, SimplexId &triangleId) const override |
SimplexId | getEdgeTriangleNumberInternal (const SimplexId &edgeId) const override |
const std::vector< std::vector< SimplexId > > * | getEdgeTrianglesInternal () override |
int | getEdgeVertexInternal (const SimplexId &edgeId, const int &localVertexId, SimplexId &vertexId) const override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getNumberOfCells () const override |
SimplexId | getNumberOfEdgesInternal () const override |
SimplexId | getNumberOfTrianglesInternal () const override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getNumberOfVertices () const override |
const std::vector< std::array< SimplexId, 3 > > *TTK_TRIANGULATION_INTERNAL() | getTriangles () override |
int | getTriangleEdgeInternal (const SimplexId &triangleId, const int &localEdgeId, SimplexId &edgeId) const override |
SimplexId | getTriangleEdgeNumberInternal (const SimplexId &triangleId) const override |
const std::vector< std::vector< SimplexId > > * | getTriangleEdgesInternal () override |
int TTK_TRIANGULATION_INTERNAL() | getTriangleLink (const SimplexId &triangleId, const int &localLinkId, SimplexId &linkId) const override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getTriangleLinkNumber (const SimplexId &triangleId) const override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getTriangleLinks () override |
int TTK_TRIANGULATION_INTERNAL() | getTriangleStar (const SimplexId &triangleId, const int &localStarId, SimplexId &starId) const override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getTriangleStarNumber (const SimplexId &triangleId) const override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getTriangleStars () override |
int | getTriangleVertexInternal (const SimplexId &triangleId, const int &localVertexId, SimplexId &vertexId) const override |
int | getVertexEdgeInternal (const SimplexId &vertexId, const int &localEdgeId, SimplexId &edgeId) const override |
SimplexId | getVertexEdgeNumberInternal (const SimplexId &vertexId) const override |
const std::vector< std::vector< SimplexId > > * | getVertexEdgesInternal () override |
int TTK_TRIANGULATION_INTERNAL() | getVertexLink (const SimplexId &vertexId, const int &localLinkId, SimplexId &linkId) const override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getVertexLinkNumber (const SimplexId &vertexId) const override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getVertexLinks () override |
int TTK_TRIANGULATION_INTERNAL() | getVertexNeighbor (const SimplexId &vertexId, const int &localNeighborId, SimplexId &neighborId) const override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getVertexNeighborNumber (const SimplexId &vertexId) const override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getVertexNeighbors () override |
int TTK_TRIANGULATION_INTERNAL() | getVertexPoint (const SimplexId &vertexId, float &x, float &y, float &z) const override |
int TTK_TRIANGULATION_INTERNAL() | getVertexStar (const SimplexId &vertexId, const int &localStarId, SimplexId &starId) const override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getVertexStarNumber (const SimplexId &vertexId) const override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getVertexStars () override |
int | getVertexTriangleInternal (const SimplexId &vertexId, const int &localTriangleId, SimplexId &triangleId) const override |
SimplexId | getVertexTriangleNumberInternal (const SimplexId &vertexId) const override |
const std::vector< std::vector< SimplexId > > * | getVertexTrianglesInternal () override |
bool TTK_TRIANGULATION_INTERNAL() | isEdgeOnBoundary (const SimplexId &edgeId) const override |
bool | isEmpty () const override |
bool TTK_TRIANGULATION_INTERNAL() | isTriangleOnBoundary (const SimplexId &triangleId) const override |
bool TTK_TRIANGULATION_INTERNAL() | isVertexOnBoundary (const SimplexId &vertexId) const override |
int | preconditionBoundaryEdgesInternal () override |
int | preconditionBoundaryTrianglesInternal () override |
int | preconditionBoundaryVerticesInternal () override |
int | preconditionCellEdgesInternal () override |
int | preconditionCellNeighborsInternal () override |
int | preconditionCellTrianglesInternal () override |
int | preconditionEdgesInternal () override |
int | preconditionEdgeLinksInternal () override |
int | preconditionEdgeStarsInternal () override |
int | preconditionEdgeTrianglesInternal () override |
int | preconditionTrianglesInternal () override |
int | preconditionTriangleEdgesInternal () override |
int | preconditionTriangleLinksInternal () override |
int | preconditionTriangleStarsInternal () override |
int | preconditionVertexEdgesInternal () override |
int | preconditionVertexLinksInternal () override |
int | preconditionVertexNeighborsInternal () override |
int | preconditionVertexStarsInternal () override |
int | preconditionVertexTrianglesInternal () override |
void | initCache (const float ratio=0.2) |
size_t | getCacheSize () |
int | resetCache (int option) |
Public Member Functions inherited from ttk::AbstractTriangulation | |
AbstractTriangulation () | |
~AbstractTriangulation () override | |
AbstractTriangulation (const AbstractTriangulation &)=default | |
AbstractTriangulation (AbstractTriangulation &&)=default | |
AbstractTriangulation & | operator= (const AbstractTriangulation &)=default |
AbstractTriangulation & | operator= (AbstractTriangulation &&)=default |
int | clear () |
size_t | footprint (size_t size=0) const |
virtual int | getCellEdge (const SimplexId &cellId, const int &localEdgeId, SimplexId &edgeId) const |
virtual SimplexId | getCellEdgeNumber (const SimplexId &cellId) const |
virtual const std::vector< std::vector< SimplexId > > * | getCellEdges () |
virtual int | getCellTriangle (const SimplexId &cellId, const int &localTriangleId, SimplexId &triangleId) const |
virtual SimplexId | getCellTriangleNumber (const SimplexId &cellId) const |
virtual const std::vector< std::vector< SimplexId > > * | getCellTriangles () |
virtual int | getEdgeTriangle (const SimplexId &edgeId, const int &localTriangleId, SimplexId &triangleId) const |
virtual SimplexId | getEdgeTriangleNumber (const SimplexId &edgeId) const |
virtual const std::vector< std::vector< SimplexId > > * | getEdgeTriangles () |
virtual int | getEdgeVertex (const SimplexId &edgeId, const int &localVertexId, SimplexId &vertexId) const |
int | getEdgeVertexNumber (const SimplexId ttkNotUsed(edgeId)) const |
virtual const std::array< SimplexId, 3 > & | getGridDimensions () const |
virtual SimplexId | getNumberOfEdges () const |
virtual SimplexId | getNumberOfTriangles () const |
virtual int | getTriangleEdge (const SimplexId &triangleId, const int &localEdgeId, SimplexId &edgeId) const |
virtual SimplexId | getTriangleEdgeNumber (const SimplexId &triangleId) const |
virtual const std::vector< std::vector< SimplexId > > * | getTriangleEdges () |
virtual int | getTriangleVertex (const SimplexId &triangleId, const int &localVertexId, SimplexId &vertexId) const |
int | getTriangleVertexNumber (const SimplexId ttkNotUsed(triangleId)) const |
virtual int | getVertexEdge (const SimplexId &vertexId, const int &localEdgeId, SimplexId &edgeId) const |
virtual SimplexId | getVertexEdgeNumber (const SimplexId &vertexId) const |
virtual const std::vector< std::vector< SimplexId > > * | getVertexEdges () |
virtual int | getVertexTriangle (const SimplexId &vertexId, const int &localTriangleId, SimplexId &triangleId) const |
virtual SimplexId | getVertexTriangleNumber (const SimplexId &vertexId) const |
virtual const std::vector< std::vector< SimplexId > > * | getVertexTriangles () |
bool | hasPeriodicBoundaries () const |
Returns true if the grid uses period boundary conditions. | |
virtual bool | isManifold () const |
virtual int | preconditionManifold () |
virtual int | preconditionBoundaryEdges () |
virtual int | preconditionBoundaryTriangles () |
virtual int | preconditionBoundaryVertices () |
virtual int | preconditionCellEdges () |
virtual int | preconditionCellNeighbors () |
virtual int | preconditionCellTriangles () |
virtual int | preconditionEdges () |
virtual int | preconditionEdgeLinks () |
virtual int | preconditionEdgeStars () |
virtual int | preconditionEdgeTriangles () |
virtual int | preconditionTriangles () |
virtual int | preconditionTriangleEdges () |
virtual int | preconditionTriangleLinks () |
virtual int | preconditionTriangleStars () |
virtual int | preconditionVertexEdges () |
virtual int | preconditionVertexLinks () |
virtual int | preconditionVertexNeighbors () |
virtual int | preconditionVertexStars () |
virtual int | preconditionVertexTriangles () |
int | getEdgeIncenter (const SimplexId edgeId, float incenter[3]) const |
int | getTriangleIncenter (const SimplexId triangleId, float incenter[3]) const |
int | getTetraIncenter (const SimplexId tetraId, float incenter[3]) const |
int | getCellIncenter (const SimplexId cellid, const int dim, float incenter[3]) const |
virtual int | getCellVTKID (const int &ttkId, int &vtkId) const |
template<class itemType > | |
size_t | tableTableFootprint (const vector< vector< itemType > > &table, const string &tableName, ostream &stream) const |
Public Member Functions inherited from ttk::Wrapper | |
Wrapper () | |
~Wrapper () override=default | |
virtual int | updateProgress (const float &progress)=0 |
Public Member Functions inherited from ttk::Debug | |
Debug () | |
~Debug () override | |
virtual int | setDebugLevel (const int &debugLevel) |
int | setWrapper (const Wrapper *wrapper) override |
int | printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
int | printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
int | printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const |
int | printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const |
int | printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
int | printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
int | printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
int | printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const |
int | printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
int | printMsg (const std::vector< std::vector< std::string > > &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
int | printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const |
int | printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
int | printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const |
void | setDebugMsgPrefix (const std::string &prefix) |
Public Member Functions inherited from ttk::BaseClass | |
BaseClass () | |
virtual | ~BaseClass ()=default |
int | getThreadNumber () const |
virtual int | setThreadNumber (const int threadNumber) |
Protected Member Functions | |
int | clear () |
SimplexId | findNodeIndex (SimplexId id, SIMPLEX_ID idType) const |
ImplicitCluster * | searchCache (const SimplexId &nodeId, const SimplexId reservedId=0) const |
int | buildInternalEdgeMap (ImplicitCluster *const nodePtr, bool computeInternalEdgeList, bool computeInternalEdgeMap) const |
int | buildExternalEdgeMap (ImplicitCluster *const nodePtr) const |
int | buildInternalTriangleMap (ImplicitCluster *const nodePtr, bool computeInternalTriangleList, bool computeInternalTriangleMap) const |
int | buildExternalTriangleMap (ImplicitCluster *const nodePtr) const |
SimplexId | countInternalEdges (SimplexId nodeId) const |
int | countInternalTriangles (SimplexId nodeId) const |
int | getClusterCellNeighbors (ImplicitCluster *const nodePtr) const |
int | getClusterCellTriangles (ImplicitCluster *const nodePtr) const |
int | getClusterEdgeLinks (ImplicitCluster *const nodePtr) const |
int | getClusterEdgeStars (ImplicitCluster *const nodePtr) const |
int | getClusterEdgeTriangles (ImplicitCluster *const nodePtr) const |
int | getClusterTetraEdges (ImplicitCluster *const nodePtr) const |
int | getClusterTriangleEdges (ImplicitCluster *const nodePtr) const |
int | getClusterTriangleLinks (ImplicitCluster *const nodePtr) const |
int | getClusterTriangleStars (ImplicitCluster *const nodePtr) const |
int | getClusterVertexEdges (ImplicitCluster *const nodePtr) const |
int | getClusterVertexLinks (ImplicitCluster *const nodePtr) const |
int | getClusterVertexNeighbors (ImplicitCluster *const nodePtr) const |
int | getClusterVertexStars (ImplicitCluster *const nodePtr) const |
int | getClusterVertexTriangles (ImplicitCluster *const nodePtr) const |
int | getBoundaryCells (ImplicitCluster *const nodePtr, const SimplexId dim=2) const |
Protected Member Functions inherited from ttk::AbstractTriangulation | |
virtual int | getCellEdgeInternal (const SimplexId &ttkNotUsed(cellId), const int &ttkNotUsed(localEdgeId), SimplexId &ttkNotUsed(edgeId)) const |
virtual SimplexId | getCellEdgeNumberInternal (const SimplexId &ttkNotUsed(cellId)) const |
virtual int | getCellNeighborInternal (const SimplexId &ttkNotUsed(cellId), const int &ttkNotUsed(localNeighborId), SimplexId &ttkNotUsed(neighborId)) const |
virtual SimplexId | getCellNeighborNumberInternal (const SimplexId &ttkNotUsed(cellId)) const |
virtual const std::vector< std::vector< SimplexId > > * | getCellNeighborsInternal () |
virtual int | getCellTriangleInternal (const SimplexId &ttkNotUsed(cellId), const int &ttkNotUsed(localTriangleId), SimplexId &ttkNotUsed(triangleId)) const |
virtual SimplexId | getCellTriangleNumberInternal (const SimplexId &ttkNotUsed(cellId)) const |
virtual int | getCellVertexInternal (const SimplexId &ttkNotUsed(cellId), const int &ttkNotUsed(localVertexId), SimplexId &ttkNotUsed(vertexId)) const |
virtual SimplexId | getCellVertexNumberInternal (const SimplexId &ttkNotUsed(cellId)) const |
virtual int | getDimensionalityInternal () const |
virtual const std::vector< std::array< SimplexId, 2 > > * | getEdgesInternal () |
virtual int | getEdgeLinkInternal (const SimplexId &ttkNotUsed(edgeId), const int &ttkNotUsed(localLinkId), SimplexId &ttkNotUsed(linkId)) const |
virtual SimplexId | getEdgeLinkNumberInternal (const SimplexId &ttkNotUsed(edgeId)) const |
virtual const std::vector< std::vector< SimplexId > > * | getEdgeLinksInternal () |
virtual int | getEdgeStarInternal (const SimplexId &ttkNotUsed(edgeId), const int &ttkNotUsed(localStarId), SimplexId &ttkNotUsed(starId)) const |
virtual SimplexId | getEdgeStarNumberInternal (const SimplexId &ttkNotUsed(edgeId)) const |
virtual const std::vector< std::vector< SimplexId > > * | getEdgeStarsInternal () |
virtual int | getEdgeTriangleInternal (const SimplexId &ttkNotUsed(edgeId), const int &ttkNotUsed(localTriangleId), SimplexId &ttkNotUsed(triangleId)) const |
virtual SimplexId | getEdgeTriangleNumberInternal (const SimplexId &ttkNotUsed(edgeId)) const |
virtual int | getEdgeVertexInternal (const SimplexId &ttkNotUsed(edgeId), const int &ttkNotUsed(localVertexId), SimplexId &ttkNotUsed(vertexId)) const |
virtual SimplexId | getNumberOfCellsInternal () const |
virtual SimplexId | getNumberOfVerticesInternal () const |
virtual const std::vector< std::array< SimplexId, 3 > > * | getTrianglesInternal () |
virtual int | getTriangleEdgeInternal (const SimplexId &ttkNotUsed(triangleId), const int &ttkNotUsed(localEdgeId), SimplexId &ttkNotUsed(edgeId)) const |
virtual SimplexId | getTriangleEdgeNumberInternal (const SimplexId &ttkNotUsed(triangleId)) const |
virtual int | getTriangleLinkInternal (const SimplexId &ttkNotUsed(triangleId), const int &ttkNotUsed(localLinkId), SimplexId &ttkNotUsed(linkId)) const |
virtual SimplexId | getTriangleLinkNumberInternal (const SimplexId &ttkNotUsed(triangleId)) const |
virtual const std::vector< std::vector< SimplexId > > * | getTriangleLinksInternal () |
virtual int | getTriangleStarInternal (const SimplexId &ttkNotUsed(triangleId), const int &ttkNotUsed(localStarId), SimplexId &ttkNotUsed(starId)) const |
virtual SimplexId | getTriangleStarNumberInternal (const SimplexId &ttkNotUsed(triangleId)) const |
virtual const std::vector< std::vector< SimplexId > > * | getTriangleStarsInternal () |
virtual int | getTriangleVertexInternal (const SimplexId &ttkNotUsed(triangleId), const int &ttkNotUsed(localVertexId), SimplexId &ttkNotUsed(vertexId)) const |
virtual int | getVertexEdgeInternal (const SimplexId &ttkNotUsed(vertexId), const int &ttkNotUsed(localEdgeId), SimplexId &ttkNotUsed(edgeId)) const |
virtual SimplexId | getVertexEdgeNumberInternal (const SimplexId &ttkNotUsed(vertexId)) const |
virtual int | getVertexLinkInternal (const SimplexId &ttkNotUsed(vertexId), const int &ttkNotUsed(localLinkId), SimplexId &ttkNotUsed(linkId)) const |
virtual SimplexId | getVertexLinkNumberInternal (const SimplexId &ttkNotUsed(vertexId)) const |
virtual const std::vector< std::vector< SimplexId > > * | getVertexLinksInternal () |
virtual int | getVertexNeighborInternal (const SimplexId &ttkNotUsed(vertexId), const int &ttkNotUsed(localNeighborId), SimplexId &ttkNotUsed(neighborId)) const |
virtual SimplexId | getVertexNeighborNumberInternal (const SimplexId &ttkNotUsed(vertexId)) const |
virtual const std::vector< std::vector< SimplexId > > * | getVertexNeighborsInternal () |
virtual int | getVertexPointInternal (const SimplexId &ttkNotUsed(vertexId), float &ttkNotUsed(x), float &ttkNotUsed(y), float &ttkNotUsed(z)) const |
virtual int | getVertexStarInternal (const SimplexId &ttkNotUsed(vertexId), const int &ttkNotUsed(localStarId), SimplexId &ttkNotUsed(starId)) const |
virtual SimplexId | getVertexStarNumberInternal (const SimplexId &ttkNotUsed(vertexId)) const |
virtual const std::vector< std::vector< SimplexId > > * | getVertexStarsInternal () |
virtual int | getVertexTriangleInternal (const SimplexId &ttkNotUsed(vertexId), const int &ttkNotUsed(localTriangleId), SimplexId &ttkNotUsed(triangleId)) const |
virtual SimplexId | getVertexTriangleNumberInternal (const SimplexId &ttkNotUsed(vertexId)) const |
virtual bool | isEdgeOnBoundaryInternal (const SimplexId &ttkNotUsed(edgeId)) const |
virtual bool | isTriangleOnBoundaryInternal (const SimplexId &ttkNotUsed(triangleId)) const |
virtual bool | isVertexOnBoundaryInternal (const SimplexId &ttkNotUsed(vertexId)) const |
bool | hasPreconditionedBoundaryEdges () const |
bool | hasPreconditionedBoundaryTriangles () const |
bool | hasPreconditionedBoundaryVertices () const |
bool | hasPreconditionedCellEdges () const |
bool | hasPreconditionedCellNeighbors () const |
bool | hasPreconditionedCellTriangles () const |
bool | hasPreconditionedEdgeLinks () const |
bool | hasPreconditionedEdgeStars () const |
bool | hasPreconditionedEdgeTriangles () const |
bool | hasPreconditionedEdges () const |
bool | hasPreconditionedTriangles () const |
bool | hasPreconditionedTriangleEdges () const |
bool | hasPreconditionedTriangleLinks () const |
bool | hasPreconditionedTriangleStars () const |
bool | hasPreconditionedVertexEdges () const |
bool | hasPreconditionedVertexLinks () const |
bool | hasPreconditionedVertexNeighbors () const |
bool | hasPreconditionedVertexStars () const |
bool | hasPreconditionedVertexTriangles () const |
bool | hasPreconditionedManifold () const |
bool | needsToAbort () override |
virtual int | preconditionManifoldInternal () |
virtual int | getCellVTKIDInternal (const int &ttkId, int &vtkId) const |
template<class itemType > | |
size_t | tableFootprint (const std::vector< itemType > &table, const std::string &tableName="", std::ostream &stream=std::cout) const |
template<class itemType > | |
size_t | tableTableFootprint (const std::vector< std::vector< itemType > > &table, const std::string &tableName="", std::ostream &stream=std::cout) const |
int | updateProgress (const float &ttkNotUsed(progress)) override |
gradientCacheType * | getGradientCacheHandler () const |
Protected Member Functions inherited from ttk::Debug | |
int | printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const |
int | printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const |
int | welcomeMsg (std::ostream &stream) |
Additional Inherited Members | |
Protected Types inherited from ttk::AbstractTriangulation | |
using | gradIdType = SimplexId |
using | gradientType = std::array< std::vector< gradIdType >, 6 > |
Discrete gradient internal struct. | |
using | gradientKeyType = std::pair< const void *, size_t > |
Key type for gradientCacheType. | |
using | gradientCacheType = LRUCache< gradientKeyType, gradientType > |
Static Protected Attributes inherited from ttk::Debug | |
static COMMON_EXPORTS debug::LineMode | lastLineMode = ttk::debug::LineMode::NEW |
CompactTriangulation is a class implemented based on the TopoCluster data structure, which is a localized data structure for simplicial meshes. The key idea of TopoCluster is to subdivide the simplicial mesh into clusters. Then, the connectivity information is computed locally for each cluster and discarded when it is no longer needed. The simplicial mesh needs to be subdivided before using TopoCluster, i.e., there has to be a scalar field named "ttkCompactTriangulationIndex" to denote the cluster index of each vertex. Note Topocluster will reindex the simplices based on the clustering input array. Related publications
"TopoCluster: A Localized Data Structure for Topology-based Visualization" Guoxi Liu, Federico Iuricich, Riccardo Fellegara, and Leila De Floriani IEEE Transactions on Visualization and Computer Graphics, 2021.
Online examples:
Definition at line 89 of file CompactTriangulation.h.
CompactTriangulation::CompactTriangulation | ( | ) |
Definition at line 5 of file CompactTriangulation.cpp.
CompactTriangulation::CompactTriangulation | ( | const CompactTriangulation & | rhs | ) |
Definition at line 12 of file CompactTriangulation.cpp.
|
overridedefault |
|
default |
|
protected |
Build the external edge list in the node.
Definition at line 301 of file CompactTriangulation.cpp.
|
protected |
Build the external triangle list in the node.
Definition at line 454 of file CompactTriangulation.cpp.
|
protected |
Build the internal edge list in the node.
Definition at line 212 of file CompactTriangulation.cpp.
|
protected |
Build the internal triangle list in the node.
Definition at line 361 of file CompactTriangulation.cpp.
|
inlineprotected |
Definition at line 1550 of file CompactTriangulation.h.
Get the number of internal edges in the node.
Definition at line 520 of file CompactTriangulation.cpp.
|
protected |
Get the number of internal triangles in the node.
Definition at line 581 of file CompactTriangulation.cpp.
|
inlineprotected |
Find the corresponding node index given the id.
Definition at line 1564 of file CompactTriangulation.h.
|
protected |
Get the boundary cells in a given cluster.
Definition at line 2341 of file CompactTriangulation.cpp.
|
inline |
Get the size of the cache.
Definition at line 1524 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 229 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 261 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 273 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the localNeighborId-th
cell neighbor of the cellId-th
cell.
Here the notion of cell refers to the simplicices of maximal dimension (3D: tetrahedra, 2D: triangles, 1D: edges).
cellId | Input global cell identifier. |
localNeighborId | Input local neighbor identifier, in [0, getCellNeighborNumber()]. |
neighborId | Output global neighbor cell identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 290 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the number of cell neighbors for the cellId-th
cell.
Here the notion of cell refers to the simplicices of maximal dimension (3D: tetrahedra, 2D: triangles, 1D: edges).
cellId | Input global cell identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 322 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the list of cell neighbors for all cells.
Here the notion of cell refers to the simplicices of maximal dimension (3D: tetrahedra, 2D: triangles, 1D: edges).
The number of entries in this list is equal to the number of cells. Each entry is a std::vector of identifiers whose size is equal to the number of neighbor cells for the corresponding cell.
In implicit mode, this function will force the creation of such a list (which will be time and memory consuming). THIS IS USUALLY A BAD IDEA.
Reimplemented from ttk::AbstractTriangulation.
Definition at line 341 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 357 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 385 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 397 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the localVertexId-th
vertex identifier of the cellId-th
cell.
Here the notion of cell refers to the simplicices of maximal dimension (3D: tetrahedra, 2D: triangles, 1D: edges).
cellId | Input global cell identifier. |
localVertexId | Input local vertex identifier, in [0, getCellVertexNumber()]. |
vertexId | Output global vertex identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 415 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the number of vertices in a cell.
Here the notion of cell refers to the simplicices of maximal dimension (3D: tetrahedra, 2D: triangles, 1D: edges).
cellId | Input global cell identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 436 of file CompactTriangulation.h.
|
protected |
Get the cell neighbors for all cells in a given cluster.
Definition at line 645 of file CompactTriangulation.cpp.
|
protected |
Get the cell triangles for all cells in a given cluster.
Definition at line 861 of file CompactTriangulation.cpp.
|
protected |
Get the edge links for all the edges in a given cluster.
Definition at line 944 of file CompactTriangulation.cpp.
|
protected |
Get the edge stars for all the edges in a given cluster.
Definition at line 1171 of file CompactTriangulation.cpp.
|
protected |
Get the edge triangles for all the edges in a given cluster.
Definition at line 1271 of file CompactTriangulation.cpp.
|
protected |
Get the edges for all tetrahedra in a given cluster. Check if the tetraEdges_ is NULL before calling the function.
Definition at line 1367 of file CompactTriangulation.cpp.
|
protected |
Get the triangle edges for all the triangles in a given cluster.
Definition at line 1447 of file CompactTriangulation.cpp.
|
protected |
Get the triangle links for all the triangles in a given cluster.
Definition at line 1578 of file CompactTriangulation.cpp.
|
protected |
Get the triangle stars for all the triangles in a given cluster.
Definition at line 1649 of file CompactTriangulation.cpp.
|
protected |
Get the vertex edges for all the vertices in a given cluster.
Definition at line 1769 of file CompactTriangulation.cpp.
|
protected |
Get the vertex links for all the vertices in a given cluster.
Definition at line 1840 of file CompactTriangulation.cpp.
|
protected |
Get the vertex neighbors for all the vertices in a given cluster.
Definition at line 2106 of file CompactTriangulation.cpp.
|
protected |
Get the vertex stars for all the vertices in a given cluster. The function is similar as getVertexCells().
Definition at line 2172 of file CompactTriangulation.cpp.
|
protected |
Get the vertex triangles for all the vertices in a given cluster.
Definition at line 2257 of file CompactTriangulation.cpp.
|
inlineoverridevirtual |
Get the dimensionality of the triangulation (this value is equal to the dimension of the simplex with largest dimensionality).
Reimplemented from ttk::AbstractTriangulation.
Definition at line 447 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the localLinkId-th
simplex of the link of the edgeId-th
edge.
The output linkId
refers in 2D to a vertex identifier and in 3D to an edge identifier. It returns a negative value in 1D.
edgeId | Input global edge identifier. |
localLinkId | Input local link simplex identifier, in [0, getEdgeLinkNumber()]. |
linkId | Output link simplex identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 464 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the number of simplicies in the link of the edgeId-th
edge.
In 2D, this will return the number of vertices in the link, in 3D the number of edges. It returns a negative value in 1D.
edgeId | Input global edge identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 495 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the list of link simplices for all edges.
The number of entries in this list is equal to the number of edges. Each entry is a std::vector of identifiers representing vertices in 2D and edges in 3D. It returns NULL in 1D.
In implicit mode, this function will force the creation of such a list (which will be time and memory consuming). THIS IS USUALLY A BAD IDEA.
Reimplemented from ttk::AbstractTriangulation.
Definition at line 513 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the list of edges of the triangulation.
Here the notion of edge only makes sense if the triangulation has a dimension greater than 1 (otherwise, use the cell information).
The number of entries in this list is equal to the number of edges. Each entry is a std::pair of vertex identifiers.
In implicit mode, this function will force the creation of such a list (which will be time and memory consuming). THIS IS USUALLY A BAD IDEA.
Reimplemented from ttk::AbstractTriangulation.
Definition at line 452 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the localStarId-th
cell of the star of the edgeId-th
edge.
Here the notion of cell refers to the simplicices of maximal dimension (3D: tetrahedra, 2D: triangles, 1D: edges).
Also, the notion of edge only makes sense if the triangulation has a dimension greater than 1 (otherwise, use the cell information).
edgeId | Input global edge identifier. |
localStarId | Input local star cell identifier, in [0, getEdgeStarNumber()]. |
starId | Output global star cell identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 528 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the number of star cells for the edgeId-th
edge.
Here the notion of cell refers to the simplicices of maximal dimension (3D: tetrahedra, 2D: triangles, 1D: edges).
Also, the notion of edge only makes sense if the triangulation has a dimension greater than 1 (otherwise, use the cell information).
edgeId | Input global edge identifier |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 559 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the list of star cell identifiers for all edges.
Here the notion of cell refers to the simplicices of maximal dimension (3D: tetrahedra, 2D: triangles, 1D: edges).
Also, the notion of edge only makes sense if the triangulation has a dimension greater than 1 (otherwise, use the cell information).
The number of entries in this list is equal to the number of edges. Each entry is a std::vector of identifiers whose size is equal to the number of star cells for the corresponding edge.
In implicit mode, this function will force the creation of such a list (which will be time and memory consuming). THIS IS USUALLY A BAD IDEA.
Reimplemented from ttk::AbstractTriangulation.
Definition at line 576 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 591 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 622 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 639 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 655 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the number of cells in the triangulation.
Here the notion of cell refers to the simplicices of maximal dimension (3D: tetrahedra, 2D: triangles, 1D: edges).
Reimplemented from ttk::AbstractTriangulation.
Definition at line 686 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 690 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 700 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the number of vertices in the triangulation.
Reimplemented from ttk::AbstractTriangulation.
Definition at line 711 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 740 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 766 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 778 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the localLinkId-th
simplex of the link of the triangleId-th
triangle.
The notion of triangle link only makes sense in 3D, where the output linkId
refers to a vertex identifier.
triangleId | Input global triangle identifier. |
localLinkId | Input local link simplex identifier, in [0, getTriangleLinkNumber()]. |
linkId | Output link simplex identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 796 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the number of simplices in the link of the triangleId-th
triangle.
The notion of triangle link only makes sense in 3D, where the number of vertices in the link will be returned.
triangleId | Input global triangle identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 828 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the list of link simplices for all triangles.
The number of entries in this list is equal to the number of triangles. Each entry is a std::vector of identifiers representing a vertex.
The notion of triangle link only makes sense in 3D.
In implicit mode, this function will force the creation of such a list (which will be time and memory consuming). THIS IS USUALLY A BAD IDEA.
Reimplemented from ttk::AbstractTriangulation.
Definition at line 847 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the list of triangles of the triangulation.
Here the notion of triangle only makes sense if the triangulation has a dimension greater than 2 (otherwise, use the cell information).
The number of entries in this list is equal to the number of triangles. Each entry is a std::vector of vertex identifiers.
In implicit mode, this function will force the creation of such a list (which will be time and memory consuming). THIS IS USUALLY A BAD IDEA.
Reimplemented from ttk::AbstractTriangulation.
Definition at line 716 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the localStarId-th
cell of the star of the triangleId-th
triangle.
The notion of triangle star only makes sense in 3D, where the output starId
refers to a tetrahedron identifier.
triangleId | Input global triangle identifier. |
localStarId | Input local star cell identifier, in [0, getTriangleStarNumber()]. |
starId | Output global star cell identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 863 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the number of star cells for the triangleId-th
triangle.
The notion of triangle star only makes sense in 3D, where the number of tetrahedra in the star will be returned.
triangleId | Input global triangle identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 896 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the list of star cell identifiers for all triangles.
The number of entries in this list is equal to the number of triangles. Each entry is a std::vector of identifiers whose size is equal to the number of star cells for the corresponding triangle.
The notion of triangle star only makes sense in 3D.
In implicit mode, this function will force the creation of such a list (which will be time and memory consuming). THIS IS USUALLY A BAD IDEA.
Reimplemented from ttk::AbstractTriangulation.
Definition at line 916 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 931 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 958 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 988 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1005 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the localLinkId-th
simplex of the link of the vertexId-th
vertex.
The output linkId
refers in 2D to an edge identifier and in 3D to a triangle identifier.
vertexId | Input global vertex identifier. |
localLinkId | Input local link simplex identifier, in [0, getVertexLinkNumber()]. |
linkId | Output link simplex identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1021 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the number of simplices in the link of the vertexId-th
vertex.
In 2D, this will return the number of edges in the link, in 3D the number of triangles.
vertexId | Input global vertex identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1051 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the list of link simplices for all vertices.
The number of entries in this list is equal to the number of vertices. Each entry is a std::vector of identifiers representing edges in 2D and triangles in 3D.
In implicit mode, this function will force the creation of such a list (which will be time and memory consuming). THIS IS USUALLY A BAD IDEA.
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1069 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the localNeighborId-th
vertex neighbor of the vertexId-th
vertex.
vertexId | Input global vertex identifier. |
localNeighborId | Input local neighbor identifier, in [0, getVertexNeighborNumber()]. |
neighborId | Output global neighbor vertex identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1084 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the number of vertex neighbors for the vertexId-th
vertex.
vertexId | Input global vertex identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1117 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the list of vertex neighbor identifiers for all vertices.
The number of entries in this list is equal to the number of vertices. Each entry is a std::vector of identifiers whose size is equal to the number of vertex neighbors for the corresponding vertex.
In implicit mode, this function will force the creation of such a list (which will be time and memory consuming). THIS IS USUALLY A BAD IDEA.
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1135 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the point (3D coordinates) for the vertexId-th
vertex.
vertexId | Input global vertex identifier. |
x | Output x coordinate. |
y | Output y coordinate. |
z | Output z coordinate. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1151 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the localStarId-th
cell of the star of the vertexId-th
vertex.
Here the notion of cell refers to the simplicices of maximal dimension (3D: tetrahedra, 2D: triangles, 1D: edges).
vertexId | Input global vertex identifier. |
localStarId | Input local star cell identifier, in [0, getVertexStarNumber()]. |
starId | Output global star cell identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1172 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the number of star cells for the vertexId-th
vertex.
Here the notion of cell refers to the simplicices of maximal dimension (3D: tetrahedra, 2D: triangles, 1D: edges).
vertexId | Input global vertex identifier |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1202 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Get the list of star cell identifiers for all vertices.
Here the notion of cell refers to the simplicices of maximal dimension (3D: tetrahedra, 2D: triangles, 1D: edges).
The number of entries in this list is equal to the number of vertices. Each entry is a std::vector of identifiers whose size is equal to the number of star cells for the corresponding vertex.
In implicit mode, this function will force the creation of such a list (which will be time and memory consuming). THIS IS USUALLY A BAD IDEA.
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1220 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 1235 of file CompactTriangulation.h.
|
inlineoverride |
Definition at line 1265 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1283 of file CompactTriangulation.h.
|
inline |
Initialize the cache with the ratio.
Definition at line 1510 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Check if the edge with global identifier edgeId
is on the boundary of the domain.
For 2D triangulations, this function will return true if the edge is a boundary edge. For 3D triangulations, this function will return true if the edge belongs to a boundary triangle.
Here the notion of edge only makes sense if the triangulation has a dimension greater than 1 (otherwise, use the cell information).
edgeId | Input global edge identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1299 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Check if the data structure is empty or not.
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1312 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Check if the triangle with global identifier triangleId
is on the boundary of the domain.
Here the notion of triangle only makes sense if the triangulation has a dimension greater than 2 (otherwise, use the cell information).
For 2D triangulations, this function will return false all the time. For 3D triangulations, this function will return true if the triangle is a boundary triangle.
triangleId | Input global triangle identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1316 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Check if the vertex with global identifier vertexId
is on the boundary of the domain.
For 2D triangulations, this function will return true if the vertex belongs to a boundary edge. For 3D triangulations, this function will return true if the vertex belongs to a boundary triangle.
vertexId | Input global vertex identifier. |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1333 of file CompactTriangulation.h.
|
default |
CompactTriangulation & CompactTriangulation::operator= | ( | const CompactTriangulation & | rhs | ) |
Definition at line 24 of file CompactTriangulation.cpp.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1346 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1350 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1354 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1363 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1367 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1371 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1412 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1375 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1416 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1420 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1461 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1465 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1424 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1469 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1473 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1477 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1489 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1493 of file CompactTriangulation.h.
|
inlineoverridevirtual |
Reimplemented from ttk::AbstractTriangulation.
Definition at line 1503 of file CompactTriangulation.h.
int CompactTriangulation::reorderCells | ( | const std::vector< SimplexId > & | vertexMap, |
const LongSimplexId * | cellArray | ||
) |
Reorder the input cells.
Definition at line 163 of file CompactTriangulation.cpp.
int CompactTriangulation::reorderCells | ( | const std::vector< SimplexId > & | vertexMap, |
const SimplexId & | cellNumber, | ||
const LongSimplexId * | connectivity, | ||
const LongSimplexId * | offset | ||
) |
Reorder the input cells.
Definition at line 113 of file CompactTriangulation.cpp.
int CompactTriangulation::reorderVertices | ( | std::vector< SimplexId > & | vertexMap | ) |
Reorder the input vertices.
Definition at line 46 of file CompactTriangulation.cpp.
|
inline |
Reset the cache size to better fit in the parallel or sequential algorithms.
Definition at line 1532 of file CompactTriangulation.h.
|
inlineprotected |
Search the node in the cache.
Definition at line 1583 of file CompactTriangulation.h.
|
inline |
Set up cells from the input.
Definition at line 189 of file CompactTriangulation.h.
|
inline |
Set up vertices from the input.
Definition at line 105 of file CompactTriangulation.h.
|
mutableprotected |
Definition at line 1737 of file CompactTriangulation.h.
|
mutableprotected |
Definition at line 1734 of file CompactTriangulation.h.
|
protected |
Definition at line 1733 of file CompactTriangulation.h.
|
protected |
Definition at line 1729 of file CompactTriangulation.h.
|
protected |
Definition at line 1728 of file CompactTriangulation.h.
|
protected |
Definition at line 1722 of file CompactTriangulation.h.
|
protected |
Protected class variables.
Definition at line 1720 of file CompactTriangulation.h.
|
protected |
Definition at line 1726 of file CompactTriangulation.h.
|
protected |
Definition at line 1730 of file CompactTriangulation.h.
|
protected |
Definition at line 1721 of file CompactTriangulation.h.
|
protected |
Definition at line 1722 of file CompactTriangulation.h.
|
protected |
Definition at line 1723 of file CompactTriangulation.h.
|
protected |
Definition at line 1727 of file CompactTriangulation.h.
|
protected |
Definition at line 1724 of file CompactTriangulation.h.
|
protected |
Definition at line 1725 of file CompactTriangulation.h.
|
protected |
Definition at line 1722 of file CompactTriangulation.h.