Inheritance diagram for FacetMesh:

Public Member Functions | |
| void | Clone (FacetMesh **clone) |
| void | Append (const FacetMesh &mesh) |
| boolean | IsEdgeListInvalid () const |
| void | MarkEdgeListInvalid () |
| boolean | IsPolygonEqnListInvalid () const |
| void | MarkPolygonEqnListInvalid () |
| void | CalcPolygonEqnList () |
| calculate the list of plane equations | |
| uint32 | VerticesNbr () const |
| uint32 | FacetsNbr () const |
| void | SetVerticesCount (const uint32 numVertices) |
| void | SetFacetsCount (const uint32 numFacets) |
| void | CalcBBox (TBBox3D &bBox) |
| computes the bounding box of the mesh | |
| void | BuildEdgeList () |
| void | ReorderFacetsByUVSpaceID (uint32 uvSpaceCount) |
| TFacetMeshRenderFlags | GetRenderFlags () |
| void | SetRenderFlags (TFacetMeshRenderFlags renderFlags) |
Static Public Member Functions | |
| void | Create (FacetMesh **outMesh) |
Public Attributes | |
| TMCArray< Triangle > | fFacets |
| facets containing 3 indexes to the points in fVertices | |
| TMCArray< uint32 > | fUVSpaceID |
| UVspace ID at each facet. | |
| TMCArray< TVector3 > | fVertices |
| positions of points | |
| TMCArray< TVector3 > | fNormals |
| normals at the vertices | |
| TMCArray< TVector2 > | fuv |
| uv space coordinates at each vertices | |
| TMCArray< TVector3 > | fTextureUVW |
| solid texture coordinates to clamp procedurals/projections (unsupported) | |
| TMCArray< TMCColorRGBA8 > | fPolygonColors |
| TMCArray< TMCColorRGBA8 > | fPolygonBackColors |
| TMCArray< TVector4 > | fPolygonEqns |
| TEdgeList | fEdgeList |
| TFacetMeshRenderFlags | fRenderFlags |
| TMCCountedPtrArray< TFacetCache > | fRenderCaches |
Protected Member Functions | |
| FacetMesh () | |
| ~FacetMesh () | |
|
|
|
|
|
|
|
|
|
|
|
builds the list of edges for the mesh if the list is already up to date, nothing is done. |
|
|
computes the bounding box of the mesh
|
|
|
calculate the list of plane equations
|
|
|
|
|
|
|
|
|
|
|
|
you must call this routine any time the facets change, the edge generators rely on this to generate the edge lists |
|
|
you must call this routine any time the facets change, the plane generators rely on this to generate the polygon equations |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
facets containing 3 indexes to the points in fVertices
|
|
|
normals at the vertices
|
|
|
|
|
|
|
|
|
these are the plane equations for the polygons (a combo of unit normal and plane coeff) we use the plane eqn of the form for compute the plane coeff A x + B y + C z + D = 0 |
|
|
|
|
|
|
|
|
solid texture coordinates to clamp procedurals/projections (unsupported)
|
|
|
uv space coordinates at each vertices
|
|
|
UVspace ID at each facet.
|
|
|
positions of points
|
1.3.9.1