Package WildMagic.LibGraphics.Detail
Class ClodMesh
- java.lang.Object
-
- All Implemented Interfaces:
java.io.Serializable,NameIdInterface,StreamInterface
public class ClodMesh extends TriMesh implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class WildMagic.LibGraphics.SceneGraph.Geometry
Geometry.GeometryType
-
Nested classes/interfaces inherited from class WildMagic.LibGraphics.Rendering.Bindable
Bindable.Info
-
Nested classes/interfaces inherited from class WildMagic.LibGraphics.SceneGraph.Spatial
Spatial.CullingMode
-
-
Field Summary
Fields Modifier and Type Field Description protected intm_iCurrentRecordprotected intm_iTargetRecordprotected CollapseRecordArraym_spkRecordArrayprivate static longserialVersionUID-
Fields inherited from class WildMagic.LibGraphics.SceneGraph.Geometry
HWorld, IBuffer, m_spkLEffect, ModelBound, States, Type, VBuffer
-
Fields inherited from class WildMagic.LibGraphics.Rendering.Bindable
m_bShared, m_kInfoArray
-
Fields inherited from class WildMagic.LibGraphics.SceneGraph.Spatial
Culling, Local, m_iStartEffect, m_kEffects, m_kGlobalStates, m_kLights, m_pkParent, World, WorldBound, WorldBoundIsCurrent, WorldIsCurrent
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedClodMesh()ClodMesh(VertexBuffer pkVBuffer, IndexBuffer pkIBuffer, CollapseRecordArray pkRecordArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intGetAutomatedTargetRecord()intGetMaximumLOD()CollapseRecordGetRecord(int i)intGetRecordQuantity()protected voidGetVisibleSet(Culler rkCuller, boolean bNoCull)cullingvoidSelectLevelOfDetail()intTargetRecord()voidTargetRecord(int iTarget)-
Methods inherited from class WildMagic.LibGraphics.SceneGraph.TriMesh
GetDiskUsed, GetTriangle, GetTriangleQuantity, Link, Load, Register, Save, SaveStrings
-
Methods inherited from class WildMagic.LibGraphics.SceneGraph.Triangles
GetModelTriangle, GetWorldTriangle, SetInside, UpdateModelNormals
-
Methods inherited from class WildMagic.LibGraphics.SceneGraph.Geometry
Copy, dispose, GetAllObjectsByName, GetModelBound, GetObjectByID, GetObjectByName, UpdateModelBound, UpdateMS, UpdateMS, UpdateState, UpdateWorldBound, UpdateWorldData
-
Methods inherited from class WildMagic.LibGraphics.Rendering.Bindable
GetIdentifier, GetIdentifier, GetInfoQuantity, GetShared, IsReload, IsReload, OnLoad, OnRelease, Release, Reload, Reload, Remove, SetShared
-
Methods inherited from class WildMagic.LibGraphics.SceneGraph.Spatial
AttachEffect, AttachGlobalState, AttachLight, DetachAllEffects, DetachAllGlobalStates, DetachAllLights, DetachEffect, DetachGlobalState, DetachLight, GetEffect, GetEffectQuantity, GetGlobalState, GetGlobalState, GetGlobalStateQuantity, GetLight, GetLightQuantity, GetParent, GetStartEffect, OnGetVisibleSet, PopState, PropagateBoundToRoot, PropagateStateFromRoot, PushState, SetParent, SetStartEffect, UpdateBS, UpdateGS, UpdateGS, UpdateRS, UpdateRS
-
Methods inherited from class WildMagic.LibGraphics.ObjectSystem.GraphicsObject
GetID, GetName, GetNextID, GetObjectByIDBase, GetObjectByNameBase, SetName
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
m_iCurrentRecord
protected int m_iCurrentRecord
-
m_iTargetRecord
protected int m_iTargetRecord
-
m_spkRecordArray
protected CollapseRecordArray m_spkRecordArray
-
-
Constructor Detail
-
ClodMesh
public ClodMesh(VertexBuffer pkVBuffer, IndexBuffer pkIBuffer, CollapseRecordArray pkRecordArray)
-
ClodMesh
protected ClodMesh()
-
-
Method Detail
-
GetAutomatedTargetRecord
public int GetAutomatedTargetRecord()
-
GetMaximumLOD
public int GetMaximumLOD()
-
GetRecord
public CollapseRecord GetRecord(int i)
-
GetRecordQuantity
public int GetRecordQuantity()
-
SelectLevelOfDetail
public void SelectLevelOfDetail()
-
TargetRecord
public int TargetRecord()
-
TargetRecord
public void TargetRecord(int iTarget)
-
GetVisibleSet
protected void GetVisibleSet(Culler rkCuller, boolean bNoCull)
Description copied from class:Geometryculling- Overrides:
GetVisibleSetin classGeometry- Parameters:
rkCuller- culling object applied to this geometry.bNoCull- (not currently used).
-
-