|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CTransformShape Class ReferenceA transform which "is an instance of"/"point to" a IShape.
More...
#include <transform_shape.h>
Inheritance diagram for NL3D::CTransformShape:
List of all members.
Detailed Description
A transform which "is an instance of"/"point to" a IShape.
-
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2000
Definition at line 65 of file transform_shape.h.
Constructor & Destructor Documentation
NL3D::CTransformShape::CTransformShape |
( |
|
) |
[protected] |
|
virtual NL3D::CTransformShape::~CTransformShape |
( |
|
) |
[inline, protected, virtual] |
|
Member Function Documentation
virtual bool NL3D::CTransformShape::canStartStop |
( |
|
) |
[inline, virtual] |
|
void NL3D::CTransformShape::changeLightSetup |
( |
CRenderTrav * |
rdrTrav |
) |
|
|
IModel* NL3D::CTransformShape::creator |
( |
|
) |
[inline, static, private] |
|
void NL3D::CTransformShape::getAABBox |
( |
NLMISC::CAABBox & |
bbox |
) |
const [virtual] |
|
float NL3D::CTransformShape::getDistMax |
( |
|
) |
const [inline] |
|
CMaterial * NL3D::CTransformShape::getMaterial |
( |
uint |
materialId |
) |
[virtual] |
|
const CMaterial * NL3D::CTransformShape::getMaterial |
( |
uint |
materialId |
) |
const [virtual] |
|
virtual const CMRMLevelDetail* NL3D::CTransformShape::getMRMLevelDetail |
( |
|
) |
const [inline, virtual] |
|
uint NL3D::CTransformShape::getNumMaterial |
( |
|
) |
const [virtual] |
|
float NL3D::CTransformShape::getNumTriangles |
( |
float |
distance |
) |
[virtual] |
|
|
get an approximation of the number of triangles this instance want render for a fixed distance.
-
Parameters:
-
distance |
is the distance of the shape from the eye. |
-
Returns:
-
the approximate number of triangles this instance will render at this distance. This number can be a float. The function MUST be decreasing or constant with the distance but don't have to be continus.
Reimplemented in NL3D::CMeshMultiLodInstance.
Definition at line 73 of file transform_shape.cpp.
References Shape. |
float NL3D::CTransformShape::getNumTrianglesAfterLoadBalancing |
( |
|
) |
[inline] |
|
|
get an approximation of the number of triangles this instance should render.
This method is valid only for IShape classes (in render()), after LoadBalancing traversal is performed. NB: It is not guaranted that this instance will render those number of triangles.
Definition at line 112 of file transform_shape.h.
References _NumTrianglesAfterLoadBalancing. |
virtual bool NL3D::CTransformShape::isStarted |
( |
|
) |
const [inline, virtual] |
|
void NL3D::CTransformShape::registerBasic |
( |
|
) |
[static] |
|
void NL3D::CTransformShape::setDistMax |
( |
float |
distMax |
) |
[inline] |
|
void NL3D::CTransformShape::setupCurrentLightContribution |
( |
CLightContribution * |
lightContrib, |
|
|
bool |
useLocalAtt |
|
) |
[protected] |
|
virtual void NL3D::CTransformShape::start |
( |
|
) |
[inline, virtual] |
|
virtual void NL3D::CTransformShape::stop |
( |
void |
|
) |
[inline, virtual] |
|
Friends And Related Function Documentation
friend class CTransformShapeClipObs [friend]
|
|
friend class CTransformShapeLoadBalancingObs [friend]
|
|
friend class CTransformShapeRenderObs [friend]
|
|
Member Data Documentation
bool NL3D::CTransformShape::_CurrentUseLocalAttenuation [private]
|
|
float NL3D::CTransformShape::_DistMax [private]
|
|
float NL3D::CTransformShape::_NumTrianglesAfterLoadBalancing [private]
|
|
CSmartPtr<IShape> NL3D::CTransformShape::Shape
|
|
|
The shape, the object instancied.
Definition at line 73 of file transform_shape.h.
Referenced by NL3D::CMeshMultiLodInstance::changeMRMDistanceSetup, NL3D::CMeshMRMInstance::changeMRMDistanceSetup, NL3D::CMeshMultiLodInstance::deleteCoarseInstances, getAABBox, NL3D::CParticleSystemModel::getAABBox, NL3D::CWaterModel::getAttenuatedHeight, NL3D::CSkeletonModel::getBoneIdByName, NL3D::CWaveMakerModel::getDefaultTrack, NL3D::CWaterModel::getDefaultTrack, NL3D::CParticleSystemModel::getDefaultTrack, NL3D::CMeshBaseInstance::getDefaultTrack, NL3D::CWaterModel::getHeight, NL3D::CWaterModel::getHeightFactor, NL3D::CMeshBaseInstance::getLightMapName, NL3D::CMeshMRMInstance::getMRMLevelDetail, NL3D::CMeshBaseInstance::getNbLightMap, getNumTriangles, NL3D::CMeshMultiLodInstance::getNumTriangles, NL3D::CMeshMRMInstance::getSkinBoneUsage, NL3D::CMeshInstance::getSkinBoneUsage, NL3D::CWaterModel::getWaterHeightMapID, NL3D::CMeshMRMInstance::isSkinnable, NL3D::CMeshInstance::isSkinnable, NL3D::CParticleSystemModel::reallocRsc, NL3D::CParticleSystemModel::refreshRscDeletion, NL3D::CSegRemanence::render, NL3D::CMeshMRMInstance::renderSkin, NL3D::CMeshInstance::renderSkin, NL3D::CMeshMRMInstance::renderSkinGroupGeom, NL3D::CMeshMRMInstance::renderSkinGroupPrimitives, NL3D::CSegRemanence::restart, NL3D::CSegRemanence::samplePos, NL3D::CMeshBaseInstance::selectTextureSet, NL3D::CMeshMRMInstance::setApplySkin, NL3D::CMeshInstance::setApplySkin, NL3D::CParticleSystemModel::setEditionMode, NL3D::CMeshBaseInstance::setLightMapFactor, NL3D::CSegRemanence::setupFromShape, NL3D::CMeshMRMInstance::supportSkinGrouping, NL3D::CSkeletonModel::updateBoneToCompute, and NL3D::CSegRemanence::updateOpacityFromShape. |
The documentation for this class was generated from the following files:
|
|