|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CPSMesh Class ReferenceThis class is for mesh handling.
More...
#include <ps_mesh.h>
Inheritance diagram for NL3D::CPSMesh:
List of all members.
Detailed Description
This class is for mesh handling.
It operates with any mesh, but it must insert them in the scene... It is not very adapted for lots of little meshs.. To create the mesh basis, we use CPlaneBasis here. It give us the I and J vector of the basis for each mesh and compute K ( K = I ^ J)
Definition at line 72 of file ps_mesh.h.
Member Typedef Documentation
Constructor & Destructor Documentation
NL3D::CPSMesh::CPSMesh |
( |
const std::string & |
shape = "" |
) |
[inline] |
|
NL3D::CPSMesh::~CPSMesh |
( |
|
) |
[virtual] |
|
Member Function Documentation
void NL3D::CPSMesh::deleteElement |
( |
uint32 |
index |
) |
[protected, virtual] |
|
virtual CPSLocated* NL3D::CPSMesh::getAngle2DOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
uint32 NL3D::CPSMesh::getMaxNumFaces |
( |
void |
|
) |
const [virtual] |
|
|
return the max number of faces needed for display. This is needed for LOD balancing.
Implements NL3D::CPSParticle.
Definition at line 182 of file ps_mesh.cpp. |
virtual CPSLocated* NL3D::CPSMesh::getPlaneBasisOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
std::string NL3D::CPSMesh::getShape |
( |
void |
|
) |
const [inline, virtual] |
|
virtual CPSLocated* NL3D::CPSMesh::getSizeOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
bool NL3D::CPSMesh::hasOpaqueFaces |
( |
void |
|
) |
[virtual] |
|
bool NL3D::CPSMesh::hasTransparentFaces |
( |
void |
|
) |
[virtual] |
|
void NL3D::CPSMesh::invalidate |
( |
|
) |
[inline] |
|
|
invalidate the transformShapes that were inserted in the scene, so they need to be rebuilt during the next rendering.
This is useful for clipping, or when the system has been loaded
Definition at line 104 of file ps_mesh.h.
References _Instances, and _Invalidated. |
void NL3D::CPSMesh::newElement |
( |
CPSLocated * |
emitterLocated, |
|
|
uint32 |
emitterIndex |
|
) |
[protected, virtual] |
|
NL3D::CPSMesh::NLMISC_DECLARE_CLASS |
( |
CPSMesh |
|
) |
|
|
void NL3D::CPSMesh::resize |
( |
uint32 |
size |
) |
[protected, virtual] |
|
|
serialisation. Derivers must override this, and call their parent version.
Reimplemented from NL3D::CPSParticle.
Definition at line 166 of file ps_mesh.cpp. |
void NL3D::CPSMesh::setShape |
( |
const std::string & |
shape |
) |
[inline, virtual] |
|
void NL3D::CPSMesh::updatePos |
( |
|
) |
[protected, virtual] |
|
|
in fact we don't draw the meshs, we just update their pos...
Definition at line 273 of file ps_mesh.cpp.
References NL3D::CPSRotated2DParticle::_Angle2D, NL3D::CPSRotated2DParticle::_Angle2DScheme, _Instances, _Invalidated, NL3D::CPSLocatedBindable::_Owner, NL3D::CPSSizedParticle::_ParticleSize, NL3D::CPSRotated3DPlaneParticle::_PlaneBasis, NL3D::CPSRotated3DPlaneParticle::_PlaneBasisScheme, _Shape, NL3D::CPSSizedParticle::_SizeScheme, NL3D::CPSLocatedBindable::getSysMat, nlassert, and resize.
Referenced by step. |
Member Data Documentation
bool NL3D::CPSMesh::_Invalidated [protected]
|
|
std::string NL3D::CPSMesh::_Shape [protected]
|
|
The documentation for this class was generated from the following files:
|
|