Inheritance diagram for MCMesh::MCElement< T, Size >:
Public Member Functions | |
MCElement () | |
Default constructor. | |
MCElement (T **data, index_t idx) | |
This constructor should be used. | |
MCElement (const MCElement &e) | |
virtual | ~MCElement () |
Destructor does nothing because the class does not hold any data that should be destroyed. | |
void | operator= (const MCElement &e) |
operator T * () | |
T ** | Data () |
index_t | Idx () |
void | Set (T val, int idx=0) |
Set the value of the element. | |
T | Get (int idx=0) |
Return the value of the element. | |
Protected Attributes | |
T ** | _data |
index_t | _idx |
This class is given to a MCVertex which in turn accesses its data through this class. It is needed because the array may change through the creation of the mesh. Therefore it holds a pointer to the array so that the array change can be hidden from MCVertex.
Definition at line 208 of file MarchingCubesData.h.
|
Default constructor. Definition at line 221 of file MarchingCubesData.h. |
|
This constructor should be used.
|
|
Definition at line 228 of file MarchingCubesData.h. |
|
Destructor does nothing because the class does not hold any data that should be destroyed. Definition at line 233 of file MarchingCubesData.h. |
|
Definition at line 247 of file MarchingCubesData.h. |
|
Return the value of the element.
If the dimension of the data is bigger than 1, the number of the dimension to manipulate must be given by
|
|
Definition at line 248 of file MarchingCubesData.h. |
|
Definition at line 242 of file MarchingCubesData.h. |
|
Definition at line 235 of file MarchingCubesData.h. |
|
Set the value of the element.
If the dimension of the data is bigger than 1, the number of the dimension to manipulate must be given by
Referenced by MCMesh::_addToIndex(). |
|
Definition at line 213 of file MarchingCubesData.h. Referenced by MCMesh::MCElement< float, 3 >::operator=(). |
|
Definition at line 214 of file MarchingCubesData.h. |