Identifier for Skeletons within a Grid.
More...
#include <SkeletonID.hpp>
List of all members.
Public Member Functions
-
SkeletonID (int dimension, int index_depth=0)
- Constructor via dimensionality and index depth.
-
~SkeletonID ()
- Destructor.
-
bool operator< (const SkeletonID &S) const
- Ordering operator, mostly used for stl::map.
-
int IndexDepth () const
- Index depth of this skeleton.
-
unsigned Dims () const
- Dimensionality of this skeleton.
-
index_t Refinement (unsigned int i) const
-
bool isLevel (index_t L) const
- index_t getHomogeneousLevel () const
- IF this skeleton ID refers to a refinement level that is same in all dimensions, return that single integer.
-
unsigned Size (unsigned i) const
-
bool setSize (unsigned i, index_t extension)
-
bool setRefinement (unsigned i, index_t extension)
-
string Name () const
- Create a textual representation of the inherent parameters of the Skeleton ID.
Detailed Description
Identifier for Skeletons within a Grid.
- Note:
- This stuff should rather go into the Skeleton class itself, and the Grid should use a set<> or similar.
- Examples:
-
Sphere.cpp, and trimesh.cpp.
Member Function Documentation
index_t SkeletonID::getHomogeneousLevel |
( |
|
) |
const [inline] |
IF this skeleton ID refers to a refinement level that is same in all dimensions, return that single integer.
If the refinement in these dimensions do not match, return a negative value.