|
GClasses
|
#include <GRayTrace.h>
Public Member Functions | |
| GTriMeshBuilder (GRayTraceMaterial *pMaterial) | |
| ~GTriMeshBuilder () | |
| void | add (const G3DVector &a, const G3DVector &b, const G3DVector &c) |
| Add a triangle to the mesh. More... | |
| GRayTraceTriMesh * | mesh () |
| Return the mesh (and clear the internal queues) More... | |
Protected Member Functions | |
| size_t | addPoint (const G3DVector &v) |
| Adds a point to the internal set if it is not already there. Returns its index. More... | |
Protected Attributes | |
| std::vector< size_t > | m_indexes |
| G3DReal | m_lineWidth |
| GRayTraceMaterial * | m_pMaterial |
| std::vector< G3DVector > | m_points |
| GClasses::GTriMeshBuilder::GTriMeshBuilder | ( | GRayTraceMaterial * | pMaterial | ) |
| GClasses::GTriMeshBuilder::~GTriMeshBuilder | ( | ) |
| void GClasses::GTriMeshBuilder::add | ( | const G3DVector & | a, |
| const G3DVector & | b, | ||
| const G3DVector & | c | ||
| ) |
Add a triangle to the mesh.
|
protected |
Adds a point to the internal set if it is not already there. Returns its index.
| GRayTraceTriMesh* GClasses::GTriMeshBuilder::mesh | ( | ) |
Return the mesh (and clear the internal queues)
|
protected |
|
protected |
|
protected |
|
protected |