VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
makVrf::DtSubsurfaceStateComponentCurrentFrame Class Reference

3) Define the current frame class. This will be used for read access.

Inheritance diagram for makVrf::DtSubsurfaceStateComponentCurrentFrame:
Inheritance graph
[legend]

Public Member Functions

 DtSubsurfaceStateComponentCurrentFrame (DtStateData *sd)
 
 CURRENTFRAME_ACCESSOR (double, underwaterVisibility, UnderwaterVisibility)
 
 CURRENTFRAME_ACCESSOR_BY_REF (DtVrfSubsurfaceLayerSet, subsurfaceLayers, SubsurfaceLayers)
 
 CURRENTFRAME_ACCESSOR (double, ambientWaterTemperature, AmbientWaterTemperature)
 
 CURRENTFRAME_ACCESSOR (int, priority, Priority)
 
 THERMOCLINE_GETTER (1, depth, Depth)
 
 THERMOCLINE_GETTER (1, thickness, Thickness)
 
 THERMOCLINE_GETTER (1, permeability, Permeability)
 
 THERMOCLINE_GETTER (2, depth, Depth)
 
 THERMOCLINE_GETTER (2, thickness, Thickness)
 
 THERMOCLINE_GETTER (2, permeability, Permeability)
 
 THERMOCLINE_GETTER (3, depth, Depth)
 
 THERMOCLINE_GETTER (3, thickness, Thickness)
 
 THERMOCLINE_GETTER (3, permeability, Permeability)
 
 THERMOCLINE_GETTER (4, depth, Depth)
 
 THERMOCLINE_GETTER (4, thickness, Thickness)
 
 THERMOCLINE_GETTER (4, permeability, Permeability)
 
 THERMOCLINE_GETTER (5, depth, Depth)
 
 THERMOCLINE_GETTER (5, thickness, Thickness)
 
 THERMOCLINE_GETTER (5, permeability, Permeability)
 
- Public Member Functions inherited from DtStateComponentCurrentFrameTemplate< DtSubsurfaceStateComponent, DtSubsurfaceStateComponentNextFrame, DtSubsurfaceStateComponentData >
 DtStateComponentCurrentFrameTemplate (makVrf::DtStateData *sd)
 
virtual ~DtStateComponentCurrentFrameTemplate ()
 
const
DtSubsurfaceStateComponentData & 
frameState () const
 

Protected Member Functions

bool thermoclineLayer (unsigned int index, DtVrfSubsurfaceLayer &layer) const
 
- Protected Member Functions inherited from DtStateComponentCurrentFrameTemplate< DtSubsurfaceStateComponent, DtSubsurfaceStateComponentNextFrame, DtSubsurfaceStateComponentData >
void advanceFrame (const DtSubsurfaceStateComponentData &data)
 

Additional Inherited Members

- Protected Attributes inherited from DtStateComponentCurrentFrameTemplate< DtSubsurfaceStateComponent, DtSubsurfaceStateComponentNextFrame, DtSubsurfaceStateComponentData >
DtSubsurfaceStateComponentData myData
 

Constructor & Destructor Documentation

makVrf::DtSubsurfaceStateComponentCurrentFrame::DtSubsurfaceStateComponentCurrentFrame ( DtStateData *  sd)
inline

Constructs a current-frame state component backed by the given state data storage.

Parameters
sdPointer to the shared state data storage.

Member Function Documentation

makVrf::DtSubsurfaceStateComponentCurrentFrame::CURRENTFRAME_ACCESSOR ( double  ,
underwaterVisibility  ,
UnderwaterVisibility   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::CURRENTFRAME_ACCESSOR_BY_REF ( DtVrfSubsurfaceLayerSet  ,
subsurfaceLayers  ,
SubsurfaceLayers   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::CURRENTFRAME_ACCESSOR ( double  ,
ambientWaterTemperature  ,
AmbientWaterTemperature   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::CURRENTFRAME_ACCESSOR ( int  ,
priority  ,
Priority   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 1  ,
depth  ,
Depth   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 1  ,
thickness  ,
Thickness   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 1  ,
permeability  ,
Permeability   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 2  ,
depth  ,
Depth   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 2  ,
thickness  ,
Thickness   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 2  ,
permeability  ,
Permeability   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 3  ,
depth  ,
Depth   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 3  ,
thickness  ,
Thickness   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 3  ,
permeability  ,
Permeability   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 4  ,
depth  ,
Depth   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 4  ,
thickness  ,
Thickness   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 4  ,
permeability  ,
Permeability   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 5  ,
depth  ,
Depth   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 5  ,
thickness  ,
Thickness   
)
makVrf::DtSubsurfaceStateComponentCurrentFrame::THERMOCLINE_GETTER ( 5  ,
permeability  ,
Permeability   
)
bool makVrf::DtSubsurfaceStateComponentCurrentFrame::thermoclineLayer ( unsigned int  index,
DtVrfSubsurfaceLayer &  layer 
) const
protected

Retrieves the thermocline layer at the given 0-based priority index from the current frame.

Parameters
index0-based priority index of the layer to retrieve.
layerOutput parameter populated with the found layer.
Returns
True if a layer with the given priority was found.

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)