All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
FVarLevel Class Reference

#include <fvarLevel.h>

Classes

struct  CreaseEndPair
 
struct  ETag
 
struct  ValueTag
 

Public Types

typedef Vtr::ConstArray< ValueTagConstValueTagArray
 
typedef Vtr::Array< ValueTagValueTagArray
 
typedef Vtr::ConstArray
< CreaseEndPair
ConstCreaseEndPairArray
 
typedef Vtr::Array< CreaseEndPairCreaseEndPairArray
 
typedef LocalIndex Sibling
 
typedef ConstLocalIndexArray ConstSiblingArray
 
typedef LocalIndexArray SiblingArray
 

Public Member Functions

 FVarLevel (Level const &level)
 
 ~FVarLevel ()
 
Level const & getLevel () const
 
int getNumValues () const
 
int getNumFaceValuesTotal () const
 
bool isLinear () const
 
bool hasLinearBoundaries () const
 
bool hasSmoothBoundaries () const
 
bool hasCreaseEnds () const
 
Sdc::Options getOptions () const
 
ConstIndexArray getFaceValues (Index fIndex) const
 
IndexArray getFaceValues (Index fIndex)
 
ETag getEdgeTag (Index eIndex) const
 
bool edgeTopologyMatches (Index eIndex) const
 
int getNumVertexValues (Index v) const
 
Index getVertexValueOffset (Index v, Sibling i=0) const
 
Index getVertexValue (Index v, Sibling i=0) const
 
Index findVertexValueIndex (Index vertexIndex, Index valueIndex) const
 
ConstIndexArray getVertexValues (Index vIndex) const
 
IndexArray getVertexValues (Index vIndex)
 
ConstValueTagArray getVertexValueTags (Index vIndex) const
 
ValueTagArray getVertexValueTags (Index vIndex)
 
ConstCreaseEndPairArray getVertexValueCreaseEnds (Index vIndex) const
 
CreaseEndPairArray getVertexValueCreaseEnds (Index vIndex)
 
ConstSiblingArray getVertexFaceSiblings (Index vIndex) const
 
SiblingArray getVertexFaceSiblings (Index vIndex)
 
ValueTag getValueTag (Index valueIndex) const
 
bool valueTopologyMatches (Index valueIndex) const
 
CreaseEndPair getValueCreaseEndPair (Index valueIndex) const
 
void getFaceValueTags (Index faceIndex, ValueTag valueTags[]) const
 
ValueTag getFaceCompositeValueTag (Index faceIndex) const
 
void getEdgeFaceValues (Index eIndex, int fIncToEdge, Index valuesPerVert[2]) const
 
void getVertexEdgeValues (Index vIndex, Index valuesPerEdge[]) const
 
void getVertexCreaseEndValues (Index vIndex, Sibling sibling, Index endValues[2]) const
 
void setOptions (Sdc::Options const &options)
 
void resizeVertexValues (int numVertexValues)
 
void resizeValues (int numValues)
 
void resizeComponents ()
 
void completeTopologyFromFaceValues (int regBoundaryValence)
 
void initializeFaceValuesFromFaceVertices ()
 
void initializeFaceValuesFromVertexFaceSiblings ()
 
void gatherValueSpans (Index vIndex, ValueSpan *vValueSpans) const
 
bool validate () const
 
void print () const
 
void buildFaceVertexSiblingsFromVertexFaceSiblings (std::vector< Sibling > &fvSiblings) const
 

Friends

class FVarRefinement
 

Detailed Description

Definition at line 78 of file fvarLevel.h.

Member Typedef Documentation

Definition at line 158 of file fvarLevel.h.

Definition at line 140 of file fvarLevel.h.

Definition at line 154 of file fvarLevel.h.

Definition at line 156 of file fvarLevel.h.

Definition at line 159 of file fvarLevel.h.

Definition at line 141 of file fvarLevel.h.

Constructor & Destructor Documentation

FVarLevel ( Level const &  level)
~FVarLevel ( )

Member Function Documentation

void buildFaceVertexSiblingsFromVertexFaceSiblings ( std::vector< Sibling > &  fvSiblings) const
void completeTopologyFromFaceValues ( int  regBoundaryValence)
bool edgeTopologyMatches ( Index  eIndex) const
inline

Definition at line 184 of file fvarLevel.h.

Index findVertexValueIndex ( Index  vertexIndex,
Index  valueIndex 
) const
inline

Definition at line 363 of file fvarLevel.h.

void gatherValueSpans ( Index  vIndex,
ValueSpan *  vValueSpans 
) const
void getEdgeFaceValues ( Index  eIndex,
int  fIncToEdge,
Index  valuesPerVert[2] 
) const
ETag getEdgeTag ( Index  eIndex) const
inline

Definition at line 183 of file fvarLevel.h.

ValueTag getFaceCompositeValueTag ( Index  faceIndex) const
ConstIndexArray getFaceValues ( Index  fIndex) const
inline

Definition at line 288 of file fvarLevel.h.

IndexArray getFaceValues ( Index  fIndex)
inline

Definition at line 295 of file fvarLevel.h.

void getFaceValueTags ( Index  faceIndex,
ValueTag  valueTags[] 
) const
Level const& getLevel ( ) const
inline

Definition at line 166 of file fvarLevel.h.

int getNumFaceValuesTotal ( ) const
inline

Definition at line 169 of file fvarLevel.h.

int getNumValues ( ) const
inline

Definition at line 168 of file fvarLevel.h.

int getNumVertexValues ( Index  v) const
inline

Definition at line 187 of file fvarLevel.h.

Sdc::Options getOptions ( ) const
inline

Definition at line 176 of file fvarLevel.h.

CreaseEndPair getValueCreaseEndPair ( Index  valueIndex) const
inline

Definition at line 211 of file fvarLevel.h.

ValueTag getValueTag ( Index  valueIndex) const
inline

Definition at line 208 of file fvarLevel.h.

void getVertexCreaseEndValues ( Index  vIndex,
Sibling  sibling,
Index  endValues[2] 
) const
void getVertexEdgeValues ( Index  vIndex,
Index  valuesPerEdge[] 
) const
FVarLevel::ConstSiblingArray getVertexFaceSiblings ( Index  vIndex) const
inline

Definition at line 303 of file fvarLevel.h.

FVarLevel::SiblingArray getVertexFaceSiblings ( Index  vIndex)
inline

Definition at line 310 of file fvarLevel.h.

Index getVertexValue ( Index  v,
Sibling  i = 0 
) const
inline

Definition at line 190 of file fvarLevel.h.

FVarLevel::ConstCreaseEndPairArray getVertexValueCreaseEnds ( Index  vIndex) const
inline

Definition at line 348 of file fvarLevel.h.

FVarLevel::CreaseEndPairArray getVertexValueCreaseEnds ( Index  vIndex)
inline

Definition at line 355 of file fvarLevel.h.

Index getVertexValueOffset ( Index  v,
Sibling  i = 0 
) const
inline

Definition at line 188 of file fvarLevel.h.

ConstIndexArray getVertexValues ( Index  vIndex) const
inline

Definition at line 318 of file fvarLevel.h.

IndexArray getVertexValues ( Index  vIndex)
inline

Definition at line 325 of file fvarLevel.h.

FVarLevel::ConstValueTagArray getVertexValueTags ( Index  vIndex) const
inline

Definition at line 333 of file fvarLevel.h.

FVarLevel::ValueTagArray getVertexValueTags ( Index  vIndex)
inline

Definition at line 340 of file fvarLevel.h.

bool hasCreaseEnds ( ) const
inline

Definition at line 174 of file fvarLevel.h.

bool hasLinearBoundaries ( ) const
inline

Definition at line 172 of file fvarLevel.h.

bool hasSmoothBoundaries ( ) const
inline

Definition at line 173 of file fvarLevel.h.

void initializeFaceValuesFromFaceVertices ( )
void initializeFaceValuesFromVertexFaceSiblings ( )
bool isLinear ( ) const
inline

Definition at line 171 of file fvarLevel.h.

void print ( ) const
void resizeComponents ( )
void resizeValues ( int  numValues)
void resizeVertexValues ( int  numVertexValues)
void setOptions ( Sdc::Options const &  options)
bool validate ( ) const
bool valueTopologyMatches ( Index  valueIndex) const
inline

Definition at line 209 of file fvarLevel.h.

Friends And Related Function Documentation

friend class FVarRefinement
friend

Definition at line 244 of file fvarLevel.h.


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