All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Level Class Reference

#include <level.h>

Classes

struct  ETag
 
struct  ETag
 
struct  FTag
 
struct  FTag
 
struct  VTag
 
struct  VTag
 

Public Member Functions

VTag getFaceCompositeVTag (IndexArray const &faceVerts) const
 
 Level ()
 
 ~Level ()
 
int getDepth () const
 
int getNumVertices () const
 
int getNumFaces () const
 
int getNumEdges () const
 
int getNumFaceVerticesTotal () const
 
int getNumFaceEdgesTotal () const
 
int getNumEdgeVerticesTotal () const
 
int getNumEdgeFacesTotal () const
 
int getNumVertexFacesTotal () const
 
int getNumVertexEdgesTotal () const
 
int getMaxValence () const
 
int getMaxEdgeFaces () const
 
IndexArray const getFaceVertices (Index faceIndex) const
 
IndexArray const getFaceEdges (Index faceIndex) const
 
IndexArray const getEdgeVertices (Index edgeIndex) const
 
IndexArray const getEdgeFaces (Index edgeIndex) const
 
IndexArray const getVertexFaces (Index vertIndex) const
 
IndexArray const getVertexEdges (Index vertIndex) const
 
LocalIndexArray const getVertexFaceLocalIndices (Index vertIndex) const
 
LocalIndexArray const getVertexEdgeLocalIndices (Index vertIndex) const
 
Sharpness getEdgeSharpness (Index edgeIndex) const
 
Sharpness getVertexSharpness (Index vertIndex) const
 
Sdc::Crease::Rule getVertexRule (Index vertIndex) const
 
Index findEdge (Index v0Index, Index v1Index) const
 
bool validateTopology () const
 
void print (const Refinement *parentRefinement=0) const
 
int gatherQuadRegularInteriorPatchVertices (Index fIndex, unsigned int patchVerts[], int rotation=0) const
 
int gatherQuadRegularBoundaryPatchVertices (Index fIndex, unsigned int patchVerts[], int boundaryEdgeInFace) const
 
int gatherQuadRegularCornerPatchVertices (Index fIndex, unsigned int patchVerts[], int cornerVertInFace) const
 
int gatherManifoldVertexRingFromIncidentQuads (Index vIndex, int vOffset, int ringVerts[]) const
 

Protected Member Functions

void resizeFaces (int numFaces)
 
void resizeFaceVertices (int numFaceVertsTotal)
 
void resizeFaceEdges (int numFaceEdgesTotal)
 
void resizeEdges (int numEdges)
 
void resizeEdgeVertices ()
 
void resizeEdgeFaces (int numEdgeFacesTotal)
 
void resizeVertices (int numVertices)
 
void resizeVertexFaces (int numVertexFacesTotal)
 
void resizeVertexEdges (int numVertexEdgesTotal)
 
IndexArray getFaceVertices (Index faceIndex)
 
IndexArray getFaceEdges (Index faceIndex)
 
IndexArray getEdgeVertices (Index edgeIndex)
 
IndexArray getEdgeFaces (Index edgeIndex)
 
IndexArray getVertexFaces (Index vertIndex)
 
LocalIndexArray getVertexFaceLocalIndices (Index vertIndex)
 
IndexArray getVertexEdges (Index vertIndex)
 
LocalIndexArray getVertexEdgeLocalIndices (Index vertIndex)
 
SharpnessgetEdgeSharpness (Index edgeIndex)
 
SharpnessgetVertexSharpness (Index vertIndex)
 
int createFVarChannel (int fvarValueCount, Sdc::Options const &options)
 
void destroyFVarChannel (int channel=0)
 
int getNumFVarChannels () const
 
int getNumFVarValues (int channel=0) const
 
IndexArray const getFVarFaceValues (Index faceIndex, int channel=0) const
 
IndexArray getFVarFaceValues (Index faceIndex, int channel=0)
 
void completeFVarChannelTopology (int channel=0)
 
int getNumFaceVertices (Index faceIndex) const
 
int getOffsetOfFaceVertices (Index faceIndex) const
 
int getNumFaceEdges (Index faceIndex) const
 
int getOffsetOfFaceEdges (Index faceIndex) const
 
int getNumEdgeVertices (Index) const
 
int getOffsetOfEdgeVertices (Index edgeIndex) const
 
int getNumEdgeFaces (Index edgeIndex) const
 
int getOffsetOfEdgeFaces (Index edgeIndex) const
 
int getNumVertexFaces (Index vertIndex) const
 
int getOffsetOfVertexFaces (Index vertIndex) const
 
int getNumVertexEdges (Index vertIndex) const
 
int getOffsetOfVertexEdges (Index vertIndex) const
 
void resizeFaceVertices (Index FaceIndex, int count)
 
void resizeEdgeFaces (Index edgeIndex, int count)
 
void trimEdgeFaces (Index edgeIndex, int count)
 
void resizeVertexFaces (Index vertIndex, int count)
 
void trimVertexFaces (Index vertIndex, int count)
 
void resizeVertexEdges (Index vertIndex, int count)
 
void trimVertexEdges (Index vertIndex, int count)
 
void completeTopologyFromFaceVertices ()
 
Index findEdge (Index v0, Index v1, IndexArray const &v0Edges) const
 
void orientIncidentComponents ()
 
bool orderVertexFacesAndEdges (int vIndex)
 
void populateLocalIndices ()
 

Protected Attributes

int _faceCount
 
int _edgeCount
 
int _vertCount
 
int _depth
 
int _maxEdgeFaces
 
int _maxValence
 
std::vector< Index_faceVertCountsAndOffsets
 
std::vector< Index_faceVertIndices
 
std::vector< Index_faceEdgeIndices
 
std::vector< FTag_faceTags
 
std::vector< Index_edgeVertIndices
 
std::vector< Index_edgeFaceCountsAndOffsets
 
std::vector< Index_edgeFaceIndices
 
std::vector< Sharpness_edgeSharpness
 
std::vector< ETag_edgeTags
 
std::vector< Index_vertFaceCountsAndOffsets
 
std::vector< Index_vertFaceIndices
 
std::vector< LocalIndex_vertFaceLocalIndices
 
std::vector< Index_vertEdgeCountsAndOffsets
 
std::vector< Index_vertEdgeIndices
 
std::vector< LocalIndex_vertEdgeLocalIndices
 
std::vector< Sharpness_vertSharpness
 
std::vector< VTag_vertTags
 
std::vector< FVarLevel * > _fvarChannels
 

Friends

class Refinement
 
class FVarRefinement
 
class FVarLevel
 
template<class MESH >
class Far::TopologyRefinerFactory
 
class Far::TopologyRefinerFactoryBase
 
class Far::TopologyRefiner
 
class Far::PatchTablesFactory
 

Detailed Description

Definition at line 121 of file level.h.

Constructor & Destructor Documentation

Level ( )
~Level ( )

Member Function Documentation

void completeFVarChannelTopology ( int  channel = 0)
protected
void completeTopologyFromFaceVertices ( )
protected
int createFVarChannel ( int  fvarValueCount,
Sdc::Options const &  options 
)
protected
void destroyFVarChannel ( int  channel = 0)
protected
Index findEdge ( Index  v0Index,
Index  v1Index 
) const
Index findEdge ( Index  v0,
Index  v1,
IndexArray const &  v0Edges 
) const
protected
int gatherManifoldVertexRingFromIncidentQuads ( Index  vIndex,
int  vOffset,
int  ringVerts[] 
) const
int gatherQuadRegularBoundaryPatchVertices ( Index  fIndex,
unsigned int  patchVerts[],
int  boundaryEdgeInFace 
) const
int gatherQuadRegularCornerPatchVertices ( Index  fIndex,
unsigned int  patchVerts[],
int  cornerVertInFace 
) const
int gatherQuadRegularInteriorPatchVertices ( Index  fIndex,
unsigned int  patchVerts[],
int  rotation = 0 
) const
int getDepth ( ) const
inline

Definition at line 180 of file level.h.

IndexArray const getEdgeFaces ( Index  edgeIndex) const
inline

Definition at line 549 of file level.h.

IndexArray getEdgeFaces ( Index  edgeIndex)
inlineprotected

Definition at line 554 of file level.h.

Sharpness getEdgeSharpness ( Index  edgeIndex) const
inline

Definition at line 577 of file level.h.

Sharpness & getEdgeSharpness ( Index  edgeIndex)
inlineprotected

Definition at line 581 of file level.h.

IndexArray const getEdgeVertices ( Index  edgeIndex) const
inline

Definition at line 537 of file level.h.

IndexArray getEdgeVertices ( Index  edgeIndex)
inlineprotected

Definition at line 541 of file level.h.

VTag getFaceCompositeVTag ( IndexArray const &  faceVerts) const
IndexArray const getFaceEdges ( Index  faceIndex) const
inline

Definition at line 447 of file level.h.

IndexArray getFaceEdges ( Index  faceIndex)
inlineprotected

Definition at line 452 of file level.h.

IndexArray const getFaceVertices ( Index  faceIndex) const
inline

Definition at line 421 of file level.h.

IndexArray getFaceVertices ( Index  faceIndex)
inlineprotected

Definition at line 426 of file level.h.

IndexArray const getFVarFaceValues ( Index  faceIndex,
int  channel = 0 
) const
protected
IndexArray getFVarFaceValues ( Index  faceIndex,
int  channel = 0 
)
protected
int getMaxEdgeFaces ( ) const
inline

Definition at line 195 of file level.h.

int getMaxValence ( ) const
inline

Definition at line 194 of file level.h.

int getNumEdgeFaces ( Index  edgeIndex) const
inlineprotected

Definition at line 301 of file level.h.

int getNumEdgeFacesTotal ( ) const
inline

Definition at line 190 of file level.h.

int getNumEdges ( ) const
inline

Definition at line 184 of file level.h.

int getNumEdgeVertices ( Index  ) const
inlineprotected

Definition at line 298 of file level.h.

int getNumEdgeVerticesTotal ( ) const
inline

Definition at line 189 of file level.h.

int getNumFaceEdges ( Index  faceIndex) const
inlineprotected

Definition at line 295 of file level.h.

int getNumFaceEdgesTotal ( ) const
inline

Definition at line 188 of file level.h.

int getNumFaces ( ) const
inline

Definition at line 183 of file level.h.

int getNumFaceVertices ( Index  faceIndex) const
inlineprotected

Definition at line 292 of file level.h.

int getNumFaceVerticesTotal ( ) const
inline

Definition at line 187 of file level.h.

int getNumFVarChannels ( ) const
inlineprotected

Definition at line 282 of file level.h.

int getNumFVarValues ( int  channel = 0) const
protected
int getNumVertexEdges ( Index  vertIndex) const
inlineprotected

Definition at line 307 of file level.h.

int getNumVertexEdgesTotal ( ) const
inline

Definition at line 192 of file level.h.

int getNumVertexFaces ( Index  vertIndex) const
inlineprotected

Definition at line 304 of file level.h.

int getNumVertexFacesTotal ( ) const
inline

Definition at line 191 of file level.h.

int getNumVertices ( ) const
inline

Definition at line 182 of file level.h.

int getOffsetOfEdgeFaces ( Index  edgeIndex) const
inlineprotected

Definition at line 302 of file level.h.

int getOffsetOfEdgeVertices ( Index  edgeIndex) const
inlineprotected

Definition at line 299 of file level.h.

int getOffsetOfFaceEdges ( Index  faceIndex) const
inlineprotected

Definition at line 296 of file level.h.

int getOffsetOfFaceVertices ( Index  faceIndex) const
inlineprotected

Definition at line 293 of file level.h.

int getOffsetOfVertexEdges ( Index  vertIndex) const
inlineprotected

Definition at line 308 of file level.h.

int getOffsetOfVertexFaces ( Index  vertIndex) const
inlineprotected

Definition at line 305 of file level.h.

LocalIndexArray const getVertexEdgeLocalIndices ( Index  vertIndex) const
inline

Definition at line 509 of file level.h.

LocalIndexArray getVertexEdgeLocalIndices ( Index  vertIndex)
inlineprotected

Definition at line 514 of file level.h.

IndexArray const getVertexEdges ( Index  vertIndex) const
inline

Definition at line 498 of file level.h.

IndexArray getVertexEdges ( Index  vertIndex)
inlineprotected

Definition at line 503 of file level.h.

LocalIndexArray const getVertexFaceLocalIndices ( Index  vertIndex) const
inline

Definition at line 472 of file level.h.

LocalIndexArray getVertexFaceLocalIndices ( Index  vertIndex)
inlineprotected

Definition at line 477 of file level.h.

IndexArray const getVertexFaces ( Index  vertIndex) const
inline

Definition at line 461 of file level.h.

IndexArray getVertexFaces ( Index  vertIndex)
inlineprotected

Definition at line 466 of file level.h.

Sdc::Crease::Rule getVertexRule ( Index  vertIndex) const
inline

Definition at line 595 of file level.h.

Sharpness getVertexSharpness ( Index  vertIndex) const
inline

Definition at line 586 of file level.h.

Sharpness & getVertexSharpness ( Index  vertIndex)
inlineprotected

Definition at line 590 of file level.h.

bool orderVertexFacesAndEdges ( int  vIndex)
protected
void orientIncidentComponents ( )
protected
void populateLocalIndices ( )
protected
void print ( const Refinement parentRefinement = 0) const
void resizeEdgeFaces ( int  numEdgeFacesTotal)
inlineprotected

Definition at line 638 of file level.h.

void resizeEdgeFaces ( Index  edgeIndex,
int  count 
)
inlineprotected

Definition at line 560 of file level.h.

void resizeEdges ( int  numEdges)
inlineprotected

Definition at line 620 of file level.h.

void resizeEdgeVertices ( )
inlineprotected

Definition at line 633 of file level.h.

void resizeFaceEdges ( int  numFaceEdgesTotal)
inlineprotected

Definition at line 615 of file level.h.

void resizeFaces ( int  numFaces)
inlineprotected

Definition at line 603 of file level.h.

void resizeFaceVertices ( int  numFaceVertsTotal)
inlineprotected

Definition at line 611 of file level.h.

void resizeFaceVertices ( Index  FaceIndex,
int  count 
)
inlineprotected

Definition at line 432 of file level.h.

void resizeVertexEdges ( int  numVertexEdgesTotal)
inlineprotected

Definition at line 661 of file level.h.

void resizeVertexEdges ( Index  vertIndex,
int  count 
)
inlineprotected

Definition at line 520 of file level.h.

void resizeVertexFaces ( int  numVertexFacesTotal)
inlineprotected

Definition at line 655 of file level.h.

void resizeVertexFaces ( Index  vertIndex,
int  count 
)
inlineprotected

Definition at line 483 of file level.h.

void resizeVertices ( int  numVertices)
inlineprotected

Definition at line 644 of file level.h.

void trimEdgeFaces ( Index  edgeIndex,
int  count 
)
inlineprotected

Definition at line 569 of file level.h.

void trimVertexEdges ( Index  vertIndex,
int  count 
)
inlineprotected

Definition at line 529 of file level.h.

void trimVertexFaces ( Index  vertIndex,
int  count 
)
inlineprotected

Definition at line 490 of file level.h.

bool validateTopology ( ) const

Friends And Related Function Documentation

friend class Far::PatchTablesFactory
friend

Definition at line 249 of file level.h.

friend class Far::TopologyRefiner
friend

Definition at line 248 of file level.h.

friend class Far::TopologyRefinerFactory
friend

Definition at line 246 of file level.h.

friend class Far::TopologyRefinerFactoryBase
friend

Definition at line 247 of file level.h.

friend class FVarLevel
friend

Definition at line 244 of file level.h.

friend class FVarRefinement
friend

Definition at line 243 of file level.h.

friend class Refinement
friend

Definition at line 242 of file level.h.

Member Data Documentation

int _depth
protected

Definition at line 365 of file level.h.

int _edgeCount
protected

Definition at line 358 of file level.h.

std::vector<Index> _edgeFaceCountsAndOffsets
protected

Definition at line 395 of file level.h.

std::vector<Index> _edgeFaceIndices
protected

Definition at line 396 of file level.h.

std::vector<Sharpness> _edgeSharpness
protected

Definition at line 398 of file level.h.

std::vector<ETag> _edgeTags
protected

Definition at line 399 of file level.h.

std::vector<Index> _edgeVertIndices
protected

Definition at line 394 of file level.h.

int _faceCount
protected

Definition at line 357 of file level.h.

std::vector<Index> _faceEdgeIndices
protected

Definition at line 390 of file level.h.

std::vector<FTag> _faceTags
protected

Definition at line 391 of file level.h.

std::vector<Index> _faceVertCountsAndOffsets
protected

Definition at line 388 of file level.h.

std::vector<Index> _faceVertIndices
protected

Definition at line 389 of file level.h.

std::vector<FVarLevel*> _fvarChannels
protected

Definition at line 414 of file level.h.

int _maxEdgeFaces
protected

Definition at line 366 of file level.h.

int _maxValence
protected

Definition at line 367 of file level.h.

int _vertCount
protected

Definition at line 359 of file level.h.

std::vector<Index> _vertEdgeCountsAndOffsets
protected

Definition at line 406 of file level.h.

std::vector<Index> _vertEdgeIndices
protected

Definition at line 407 of file level.h.

std::vector<LocalIndex> _vertEdgeLocalIndices
protected

Definition at line 408 of file level.h.

std::vector<Index> _vertFaceCountsAndOffsets
protected

Definition at line 402 of file level.h.

std::vector<Index> _vertFaceIndices
protected

Definition at line 403 of file level.h.

std::vector<LocalIndex> _vertFaceLocalIndices
protected

Definition at line 404 of file level.h.

std::vector<Sharpness> _vertSharpness
protected

Definition at line 410 of file level.h.

std::vector<VTag> _vertTags
protected

Definition at line 411 of file level.h.


The documentation for this class was generated from the following file: