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

helper class to wrap and send the data in the DtObserverViewWidget makVrv::DtObserverViewInfoViewerData.

Public Types

typedef std::vector
< DtObserverViewIcon * > 
ObserserIconsInfoVector
 

Public Member Functions

virtual ~DtObserverViewInfoViewerData ()
 
bool isDefaultObserver () const
 
void setIsDefaultObserver (bool val)
 
bool isObserverAssociatedToTerrain () const
 
void setIsObserverAssociatedToTerrain (bool val)
 
DtObserverViewsManager::ViewProjection observerProjection () const
 
void setObserverProjection (DtObserverViewsManager::ViewProjection projection)
 
const std::string & observerDisplayName () const
 
void setObserverDisplayName (const std::string &val)
 
virtual bool buildFromRecord (DtDe &de, const makArchives::DtObserverStateRecord &, DtObserverViewsManager::ViewProjection projection)
 
const ObserserIconsInfoVectoricons () const
 
void setIcons (const ObserserIconsInfoVector &val)
 
 DtObserverViewInfoViewerData (const DtObserverViewInfoViewerData &)
 
virtual const DtUnicode get2DPerspectiveIconTooltip ()
 
virtual const DtUnicode get2DPerspectiveIconFilePath (DtDe &de)
 
virtual const DtUnicode get2DPerspectiveIconFileName ()
 
virtual const DtUnicode get3DPerspectiveIconTooltip ()
 
virtual const DtUnicode get3DPerspectiveIconFilePath (DtDe &de)
 
virtual const DtUnicode get3DPerspectiveIconFileName ()
 
virtual const DtUnicode getAssociatedToTerrainIconTooltip ()
 
virtual const DtUnicode getAssociatedToTerrainIconFilePath (DtDe &de)
 
virtual const DtUnicode getAssociatedToTerrainIconFileName ()
 
virtual const DtUnicode getDefaultAssociatedToTerrainIconTooltip ()
 
virtual const DtUnicode getDefaultAssociatedToTerrainIconFilePath (DtDe &de)
 
virtual const DtUnicode getDefaultAssociatedToTerrainIconFileName ()
 

Protected Member Functions

 DtObserverViewInfoViewerData ()
 

Protected Attributes

ObserserIconsInfoVector myIcons
 
std::string myObserverDisplayName
 
DtObserverViewsManager::ViewProjection myObserverProjection
 
bool myIsDefaultObserver
 
bool myIsObserverAssociatedToTerrain
 

Friends

class DtObserverViewInfoViewerDataCreator
 

Member Typedef Documentation

Constructor & Destructor Documentation

virtual makVrv::DtObserverViewInfoViewerData::~DtObserverViewInfoViewerData ( )
virtual

virtual DTOR

makVrv::DtObserverViewInfoViewerData::DtObserverViewInfoViewerData ( const DtObserverViewInfoViewerData )

Copy Constructor.

makVrv::DtObserverViewInfoViewerData::DtObserverViewInfoViewerData ( )
protected

Constructor (protected - use ::create() )

Member Function Documentation

bool makVrv::DtObserverViewInfoViewerData::isDefaultObserver ( ) const

returns true if it is a terrain default view, otherwise it returns false

void makVrv::DtObserverViewInfoViewerData::setIsDefaultObserver ( bool  val)

set if it is a terrain default view

bool makVrv::DtObserverViewInfoViewerData::isObserverAssociatedToTerrain ( ) const

returns true if the observer is a associated to a terrain , otherwise it returns false

void makVrv::DtObserverViewInfoViewerData::setIsObserverAssociatedToTerrain ( bool  val)

set if the observer is a associated to a terrain

DtObserverViewsManager::ViewProjection makVrv::DtObserverViewInfoViewerData::observerProjection ( ) const

returns ViewProjection::Projection2D or ViewProjection::Projection3D

void makVrv::DtObserverViewInfoViewerData::setObserverProjection ( DtObserverViewsManager::ViewProjection  projection)

set the projection type (2D or 3D)

const std::string& makVrv::DtObserverViewInfoViewerData::observerDisplayName ( ) const

returns the view's display name

void makVrv::DtObserverViewInfoViewerData::setObserverDisplayName ( const std::string &  val)

set the view's display name

virtual bool makVrv::DtObserverViewInfoViewerData::buildFromRecord ( DtDe de,
const makArchives::DtObserverStateRecord ,
DtObserverViewsManager::ViewProjection  projection 
)
virtual

wraps required the data from a DtObserverStateRecord to be processed in the observer view widget in th method DtObserverViewsWidget::createQtTreeItem

const ObserserIconsInfoVector& makVrv::DtObserverViewInfoViewerData::icons ( ) const

returns the list of icons related to this view

void makVrv::DtObserverViewInfoViewerData::setIcons ( const ObserserIconsInfoVector val)

sets the list of icons related to this view

virtual const DtUnicode makVrv::DtObserverViewInfoViewerData::get2DPerspectiveIconTooltip ( )
virtual

sets the 2D perspective icon tool tip

virtual const DtUnicode makVrv::DtObserverViewInfoViewerData::get2DPerspectiveIconFilePath ( DtDe de)
virtual

sets the 2D perspective icon file path

virtual const DtUnicode makVrv::DtObserverViewInfoViewerData::get2DPerspectiveIconFileName ( )
virtual

sets the 2D perspective icon file name

virtual const DtUnicode makVrv::DtObserverViewInfoViewerData::get3DPerspectiveIconTooltip ( )
virtual

sets the 3D perspective icon tool tip

virtual const DtUnicode makVrv::DtObserverViewInfoViewerData::get3DPerspectiveIconFilePath ( DtDe de)
virtual

sets the 3D perspective icon file path

virtual const DtUnicode makVrv::DtObserverViewInfoViewerData::get3DPerspectiveIconFileName ( )
virtual

sets the 3D perspective icon file name

virtual const DtUnicode makVrv::DtObserverViewInfoViewerData::getAssociatedToTerrainIconTooltip ( )
virtual

sets the associated to terrain icon tool tip

virtual const DtUnicode makVrv::DtObserverViewInfoViewerData::getAssociatedToTerrainIconFilePath ( DtDe de)
virtual

sets the associated to terrain icon file path

virtual const DtUnicode makVrv::DtObserverViewInfoViewerData::getAssociatedToTerrainIconFileName ( )
virtual

sets the associated to terrain icon file name

virtual const DtUnicode makVrv::DtObserverViewInfoViewerData::getDefaultAssociatedToTerrainIconTooltip ( )
virtual

sets the default associated to terrain icon tool tip

virtual const DtUnicode makVrv::DtObserverViewInfoViewerData::getDefaultAssociatedToTerrainIconFilePath ( DtDe de)
virtual

sets the default associated to terrain icon file path

virtual const DtUnicode makVrv::DtObserverViewInfoViewerData::getDefaultAssociatedToTerrainIconFileName ( )
virtual

sets the default associated to terrain icon file name

Friends And Related Function Documentation

Member Data Documentation

ObserserIconsInfoVector makVrv::DtObserverViewInfoViewerData::myIcons
protected
std::string makVrv::DtObserverViewInfoViewerData::myObserverDisplayName
protected
DtObserverViewsManager::ViewProjection makVrv::DtObserverViewInfoViewerData::myObserverProjection
protected
bool makVrv::DtObserverViewInfoViewerData::myIsDefaultObserver
protected
bool makVrv::DtObserverViewInfoViewerData::myIsObserverAssociatedToTerrain
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)