rsvs3D  0.0.0
Codes for the c++ implementation of the 3D RSVS
SnakStruct< T > Class Template Reference
Inheritance diagram for SnakStruct< T >:
ArrayStruct< T > TriStruct< trianglepoint > TriStruct< trianglesurf > TriStruct< triangle > TriStruct< T > tripointarray trisurfarray triarray

Public Member Functions

int findparent (int key) const
 
void findsiblings (int key, std::vector< int > &siblings) const
 
int countparent (int key) const
 
void HashParent ()
 
void DeHashParent (const int pos)
 
bool memberIsHashParent (const int pos) const
 
void Init (int n)
 
void push_back (T &newelem)
 
void clear ()
 
bool checkready ()
 
void ForceArrayReady ()
 
void PrepareForUse ()
 
void Concatenate (const SnakStruct< T > &other)
 
void remove (const std::vector< int > &sub)
 
T & operator[] (const int a)
 
- Public Member Functions inherited from ArrayStruct< T >
void disp () const
 
void disp (const std::vector< int > &subs) const
 
void disp (int iStart, int iEnd) const
 
int find (int key, bool noWarn=false) const
 
std::vector< int > find_list (const std::vector< int > &key, bool noWarn=false) const
 
int GetMaxIndex () const
 
void Init (int n)
 
bool isready () const
 
bool checkready ()
 
void Concatenate (const ArrayStruct< T > &other)
 
void PopulateIndices ()
 
void SetMaxIndex ()
 
void HashArray ()
 
void PrepareForUse ()
 
void ChangeIndices (int nVert, int nEdge, int nSurf, int nVolu)
 
void write (FILE *fid) const
 
void read (FILE *fid)
 
void remove (std::vector< int > delInd)
 
void TightenConnectivity ()
 
int size () const
 
int capacity () const
 
void assign (int n, T &newelem)
 
void push_back (T &newelem)
 
void reserve (int n)
 
void clear ()
 
void issafeaccess (const int a)
 
const T * operator() (const int a) const
 
const T * isearch (const int b) const
 
T & operator[] (const int a)
 

Protected Attributes

std::unordered_multimap< int, int > hashParent
 
int isHashParent = 0
 
- Protected Attributes inherited from ArrayStruct< T >
int maxIndex
 
int isHash = 0
 
int isSetMI = 0
 
bool readyforuse = false
 
bool isInMesh = false
 
std::vector< T > elems
 
std::unordered_multimap< int, int > hashTable
 

Friends

class snake
 

Additional Inherited Members

- Protected Member Functions inherited from ArrayStruct< T >
void ForceArrayReady ()
 
void SetLastIndex ()
 

Detailed Description

template<class T>
class SnakStruct< T >

Definition at line 246 of file arraystructures.hpp.


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