TTK
|
Periodic implicit Triangulation class without preconditioning. More...
#include <PeriodicPreconditions.h>
Public Member Functions | |
PeriodicNoPreconditions () | |
int | preconditionVerticesInternal () override |
int | preconditionEdgesInternal () override |
int | preconditionTrianglesInternal () override |
int | preconditionTetrahedronsInternal () override |
std::array< SimplexId, 3 > | getVertexCoords (const SimplexId v) const |
EdgePosition | getEdgePosition (const SimplexId e) const |
std::array< SimplexId, 3 > | getEdgeCoords (const SimplexId e) const |
TrianglePosition | getTrianglePosition (const SimplexId t) const |
std::array< SimplexId, 3 > | getTriangleCoords (const SimplexId t) const |
std::array< SimplexId, 3 > | getTetrahedronCoords (const SimplexId t) const |
SimplexId | getEdgeVertexAccelerated (const SimplexId e) const |
Public Member Functions inherited from ttk::PeriodicImplicitTriangulationCRTP< PeriodicNoPreconditions > | |
int TTK_TRIANGULATION_INTERNAL() | getVertexNeighbor (const SimplexId &vertexId, const int &localNeighborId, SimplexId &neighborId) const override |
int | getVertexEdgeInternal (const SimplexId &vertexId, const int &id, SimplexId &edgeId) const override |
int | getVertexTriangleInternal (const SimplexId &vertexId, const int &id, SimplexId &triangleId) const override |
int TTK_TRIANGULATION_INTERNAL() | getVertexLink (const SimplexId &vertexId, const int &localLinkId, SimplexId &linkId) const override |
int TTK_TRIANGULATION_INTERNAL() | getVertexStar (const SimplexId &vertexId, const int &localStarId, SimplexId &starId) const override |
int TTK_TRIANGULATION_INTERNAL() | getVertexPoint (const SimplexId &vertexId, float &x, float &y, float &z) const override |
int | getEdgeVertexInternal (const SimplexId &edgeId, const int &localVertexId, SimplexId &vertexId) const override |
SimplexId | getEdgeTriangleNumberInternal (const SimplexId &edgeId) const override |
int | getEdgeTriangleInternal (const SimplexId &edgeId, const int &id, SimplexId &triangleId) const override |
int TTK_TRIANGULATION_INTERNAL() | getEdgeLink (const SimplexId &edgeId, const int &localLinkId, SimplexId &linkId) const override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getEdgeStarNumber (const SimplexId &edgeId) const override |
int TTK_TRIANGULATION_INTERNAL() | getEdgeStar (const SimplexId &edgeId, const int &localStarId, SimplexId &starId) const override |
int | getTriangleVertexInternal (const SimplexId &triangleId, const int &localVertexId, SimplexId &vertexId) const override |
int | getTriangleEdgeInternal (const SimplexId &triangleId, const int &id, SimplexId &edgeId) const override |
int TTK_TRIANGULATION_INTERNAL() | getTriangleLink (const SimplexId &triangleId, const int &localLinkId, SimplexId &linkId) const 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 |
int | getTriangleNeighbor (const SimplexId &triangleId, const int &localNeighborId, SimplexId &neighborId) const override |
int | getTetrahedronVertex (const SimplexId &tetId, const int &localVertexId, SimplexId &vertexId) const override |
int | getTetrahedronEdge (const SimplexId &tetId, const int &id, SimplexId &edgeId) const override |
int | getTetrahedronTriangle (const SimplexId &tetId, const int &id, SimplexId &triangleId) const override |
int | getTetrahedronNeighbor (const SimplexId &tetId, const int &localNeighborId, SimplexId &neighborId) const override |
virtual int | getEdgeIncenter (SimplexId edgeId, float incenter[3]) const |
virtual int | getTriangleIncenter (SimplexId triangleId, float incenter[3]) const |
virtual int | getTetraIncenter (SimplexId tetraId, float incenter[3]) const |
Public Member Functions inherited from ttk::PeriodicImplicitTriangulation | |
PeriodicImplicitTriangulation () | |
~PeriodicImplicitTriangulation () override | |
PeriodicImplicitTriangulation (const PeriodicImplicitTriangulation &)=default | |
PeriodicImplicitTriangulation (PeriodicImplicitTriangulation &&)=default | |
PeriodicImplicitTriangulation & | operator= (const PeriodicImplicitTriangulation &)=default |
PeriodicImplicitTriangulation & | operator= (PeriodicImplicitTriangulation &&)=default |
int | getCellEdgeInternal (const SimplexId &cellId, const int &id, 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 &id, SimplexId &triangleId) const override |
SimplexId | getCellTriangleNumberInternal (const SimplexId &ttkNotUsed(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 |
SimplexId TTK_TRIANGULATION_INTERNAL() | getEdgeLinkNumber (const SimplexId &edgeId) const override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getEdgeLinks () override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getEdgeStars () override |
const std::vector< std::vector< SimplexId > > * | getEdgeTrianglesInternal () override |
const std::vector< std::array< SimplexId, 2 > > *TTK_TRIANGULATION_INTERNAL() | getEdges () override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getNumberOfCells () const override |
SimplexId | getNumberOfEdgesInternal () const override |
SimplexId | getNumberOfTrianglesInternal () const override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getNumberOfVertices () const override |
int | getTetrahedronEdges (std::vector< std::vector< SimplexId > > &edges) const |
int | getTetrahedronTriangles (std::vector< std::vector< SimplexId > > &triangles) const |
SimplexId | getTetrahedronNeighborNumber (const SimplexId &tetId) const |
int | getTetrahedronNeighbors (std::vector< std::vector< SimplexId > > &neighbors) |
SimplexId | getTriangleEdgeNumberInternal (const SimplexId &ttkNotUsed(triangleId)) const override |
const std::vector< std::vector< SimplexId > > * | getTriangleEdgesInternal () override |
int | getTriangleEdgesInternal (std::vector< std::vector< SimplexId > > &edges) const |
SimplexId TTK_TRIANGULATION_INTERNAL() | getTriangleLinkNumber (const SimplexId &triangleId) const override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getTriangleLinks () override |
SimplexId | getTriangleNeighborNumber (const SimplexId &triangleId) const |
int | getTriangleNeighbors (std::vector< std::vector< SimplexId > > &neighbors) |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getTriangleStars () override |
const std::vector< std::array< SimplexId, 3 > > *TTK_TRIANGULATION_INTERNAL() | getTriangles () override |
SimplexId | getVertexEdgeNumberInternal (const SimplexId &vertexId) const override |
const std::vector< std::vector< SimplexId > > * | getVertexEdgesInternal () override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getVertexLinkNumber (const SimplexId &vertexId) const override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getVertexLinks () override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getVertexNeighborNumber (const SimplexId &vertexId) const override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getVertexNeighbors () override |
SimplexId TTK_TRIANGULATION_INTERNAL() | getVertexStarNumber (const SimplexId &vertexId) const override |
const std::vector< std::vector< SimplexId > > *TTK_TRIANGULATION_INTERNAL() | getVertexStars () 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 | setInputGrid (const float &xOrigin, const float &yOrigin, const float &zOrigin, const float &xSpacing, const float &ySpacing, const float &zSpacing, const SimplexId &xDim, const SimplexId &yDim, const SimplexId &zDim) override |
const std::array< ttk::SimplexId, 3 > & | getGridDimensions () const override |
int | preconditionCellsInternal () |
int | preconditionVerticesAndCells () |
int | getCellVTKIDInternal (const int &ttkId, int &vtkId) const override |
Public Member Functions inherited from ttk::RegularGridTriangulation | |
RegularGridTriangulation () | |
~RegularGridTriangulation () override=default | |
RegularGridTriangulation (const RegularGridTriangulation &)=default | |
RegularGridTriangulation (RegularGridTriangulation &&)=default | |
RegularGridTriangulation & | operator= (const RegularGridTriangulation &)=default |
RegularGridTriangulation & | operator= (RegularGridTriangulation &&)=default |
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 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) |
Periodic implicit Triangulation class without preconditioning.
Definition at line 80 of file PeriodicPreconditions.h.
|
inline |
Definition at line 83 of file PeriodicPreconditions.h.
std::array< ttk::SimplexId, 3 > ttk::PeriodicNoPreconditions::getEdgeCoords | ( | const SimplexId | e | ) | const |
Definition at line 239 of file PeriodicPreconditions.cpp.
ttk::PeriodicImplicitTriangulation::EdgePosition ttk::PeriodicNoPreconditions::getEdgePosition | ( | const SimplexId | e | ) | const |
Definition at line 189 of file PeriodicPreconditions.cpp.
Definition at line 122 of file PeriodicPreconditions.h.
|
inline |
Definition at line 116 of file PeriodicPreconditions.h.
std::array< ttk::SimplexId, 3 > ttk::PeriodicNoPreconditions::getTriangleCoords | ( | const SimplexId | t | ) | const |
Definition at line 297 of file PeriodicPreconditions.cpp.
ttk::PeriodicImplicitTriangulation::TrianglePosition ttk::PeriodicNoPreconditions::getTrianglePosition | ( | const SimplexId | t | ) | const |
Definition at line 271 of file PeriodicPreconditions.cpp.
|
inline |
Definition at line 100 of file PeriodicPreconditions.h.
|
inlineoverridevirtual |
Implements ttk::PeriodicImplicitTriangulation.
Definition at line 90 of file PeriodicPreconditions.h.
|
inlineoverridevirtual |
Implements ttk::PeriodicImplicitTriangulation.
Definition at line 96 of file PeriodicPreconditions.h.
|
inlineoverridevirtual |
Implements ttk::PeriodicImplicitTriangulation.
Definition at line 93 of file PeriodicPreconditions.h.
|
inlineoverridevirtual |
Implements ttk::PeriodicImplicitTriangulation.
Definition at line 87 of file PeriodicPreconditions.h.