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

Public Member Functions

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 Member Functions

void ForceArrayReady ()
 
void SetLastIndex ()
 

Protected Attributes

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 mesh
 
class snake
 
class surf
 
int TestTemplate_ArrayStruct ()
 

Detailed Description

template<class T>
class ArrayStruct< T >

Definition at line 113 of file arraystructures.hpp.


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