VR-Forces 4.0.4 Class Documentation
Classes | Public Types | Public Member Functions | Protected Types | Protected Attributes
makVrv::DtSurfacesSettings Class Reference

Contains surface on/off settings. More...

List of all members.

Classes

class  SurfaceDefinition
 Definition of a surface record. More...

Public Types

typedef std::vector< int > SurfaceIdList
 Move to SurfaceDefinitionManager.

Public Member Functions

 DtSurfacesSettings ()
 CTOR.
 ~DtSurfacesSettings ()
 DTOR.
 DtSurfacesSettings (DtSurfacesSettings const &)
 Copy CTOR.
DtSurfacesSettingsoperator= (DtSurfacesSettings const &obj)
 Assignment operator.
void getRecord (makArchives::DtSurfaceSettingsRecord &rec) const
 Fill out a makArchives::DtSurfaceSettingsRecord with the values of this object.
void setFromRecord (const makArchives::DtSurfaceSettingsRecord &rec)
 Fill out this object with the values of a makArchives::DtSurfaceSettingsRecord.
void setSurfaceVisible (int surfaceId, bool state)
 Set a surface visible or not.
bool surfaceVisible (int surfaceId)
 Check whether a surface is visible.
SurfaceIdList const & surfaceIds ()
 Get a list of all surface IDs. Will go elsewhere later.
SurfaceDefinitionfindSurfaceDefinition (int id)
 Find a surface definition by ID. Will go elsewhere later.
bool isLoaded ()
 Check whether the surfaces settings were loaded from a file.

Protected Types

typedef std::vector
< SurfaceDefinition
SurfaceDefinitionList
 Move to Surface Definition Manager later.

Protected Attributes

makArchives::DtSurfaceSettingsRecord::SurfaceVisibleMap mySurfaceVisibleMap
std::vector< SurfaceDefinitionmySurfaceDefinitions
SurfaceIdList mySurfaceIds
bool myIsLoaded

Detailed Description

Contains surface on/off settings.


Member Typedef Documentation

Move to SurfaceDefinitionManager.

Move to Surface Definition Manager later.


Constructor & Destructor Documentation

CTOR.

DTOR.

Copy CTOR.


Member Function Documentation

DtSurfacesSettings& makVrv::DtSurfacesSettings::operator= ( DtSurfacesSettings const &  obj)

Assignment operator.

Fill out a makArchives::DtSurfaceSettingsRecord with the values of this object.

Fill out this object with the values of a makArchives::DtSurfaceSettingsRecord.

void makVrv::DtSurfacesSettings::setSurfaceVisible ( int  surfaceId,
bool  state 
)

Set a surface visible or not.

Check whether a surface is visible.

Get a list of all surface IDs. Will go elsewhere later.

Find a surface definition by ID. Will go elsewhere later.

Check whether the surfaces settings were loaded from a file.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)