Surface Zone class of a 3D Tetrahedrisation containing a list of triangles
![]() | operator* () const returns current element |
![]() | operator* () const returns current element |
![]() | getName (void) const returns zone name |
![]() | getRef (void) const returns zone reference number |
![]() | getTetrahedrisation () const get the mesh containing the surface zone |
![]() | setName (const TclString& n) set new zone name |
![]() | setRef (unsigned int r) set the zone unique reference |
![]() | set1DTextureCoordinates (SET_TETRAHEDRISATION_1D_TEXTURE_COORDINATES f, bool normalize=false) set the 1D texture coordinates for each triangle of the zone |
![]() | triangleRemoved (TetraTriangle3D *tr) removes a triangle from the list |
![]() | newTriangle (TetraTriangle3D *tr) adds a triangle to the tetrahedron list |
![]() | apply (void (TetraVertex3D::*ptr)(void)) apply vertex member function on each surface zone vertex |
![]() | apply (void (TetraVertex3D::*ptr)(const double), const double val) apply vertex member function on each surface zone vertex |
![]() | expand () morphological operator that expands the zone to its neighbors |
![]() | shrink () morphological operator that shrinks the zone |
![]() | computeNormalOnVertices () compute normal on surface zone vertices |
![]() | buildFlat () build the display list for flat shading of triangles |
![]() | buildSolid () build the display list for Gouraud shading of triangles |
![]() | buildWireframe () build the display list for wireframe display |
![]() | setRedrawOrder (unsigned int order) set object redraw order for transparency sorting |
![]() | computeAutomaticTextureCoordinates () set the textureCoordonates values of triangles |
![]() | computeStripList (void) compute stripList |
![]() | getVertexInformation (TetraVertex3D* v) const return the information about a vertex if the vertex isn't part of the surfaceZone return NULL |
![]() | getVertexNormal (TetraVertex3D* v) const return the surface normal of a vertex if the vertex isn't part of the surfaceZone return (0,0,0); |
![]() | getVertexTextureCoordinate (TetraVertex3D* v, int i) const return the ith surface texture coordinate of a vertex if the vertex isn't part of the surfaceZone return 0; |
![]() | setVertexTextureCoordinate (TetraVertex3D* v, int i, double c) set the texture coordinate of a vertex if the vertex isn't part of the surfaceZone do nothing; |
![]() | getFirstTriangle () returns the first element of the list of triangles |
![]() | getLastTriangle () returns the last element of the list of triangles |
![]() | writeVertexList (const TclString file) const write list of zone's vertices |
![]() | vertex a struc that compile a surfaceZone's vertex's information | ||
![]() | constructor
| ||
![]() | destructor
|
![]() | name zone name |
![]() | tetrahedrisation tetrahetrisation where the zone belongs to |
![]() | ref zone unique reference |
![]() | triangleList triangle list of the zone |
![]() | vertexInformationMap vector of VertexInformation |
![]() | redrawOrder redraw order (for transparency redraw) |
![]() | topologyChanged whether zone's topology was changed |
![]() | stripList list of vertices for triangles strips |
Surface Zone class of a 3D Tetrahedrisation containing a list of triangles
V* operator*() const
typedef struct TetraVertex3D* vertex
TclString name
Tetra3D* tetrahedrisation
unsigned int ref
std::set <TetraTriangle3D *> triangleList
std::map <TetraVertex3D*,VertexInformation *> vertexInformationMap
unsigned int redrawOrder
bool topologyChanged
std::list
constructor
destructor
const TclString& getName(void) const
inline unsigned int getRef(void) const
inline Tetra3D* getTetrahedrisation() const
void setName(const TclString& n)
void setRef(unsigned int r)
void set1DTextureCoordinates(SET_TETRAHEDRISATION_1D_TEXTURE_COORDINATES f, bool normalize=false)
normalize - if the texture coordinates should be scaled between 0 and 1 (computes min and max value) void triangleRemoved(TetraTriangle3D *tr)
void newTriangle(TetraTriangle3D *tr)
void apply(void (TetraVertex3D::*ptr)(void))
void apply(void (TetraVertex3D::*ptr)(const double), const double val)
val - the argument passed to the member function void expand()
void shrink()
void computeNormalOnVertices()
virtual void buildFlat()
virtual void buildSolid()
virtual void buildWireframe()
virtual void setRedrawOrder(unsigned int order)
void computeAutomaticTextureCoordinates()
virtual void computeStripList(void)
inline VertexInformation* getVertexInformation(TetraVertex3D* v) const
Vec3
double getVertexTextureCoordinate(TetraVertex3D* v, int i) const
i - the index of the coordinate (i in [0..3]) void setVertexTextureCoordinate(TetraVertex3D* v, int i, double c)
i - the index of the coordinate (i in [0..3])
c - the coordinate inline std::set <TetraTriangle3D *> ::iterator getFirstTriangle()
inline std::set <TetraTriangle3D *> ::iterator getLastTriangle()
void writeVertexList(const TclString file) const
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de