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
makVrv::DtRectangularPyramidModel Class Referenceabstract

Distributed model for visualizing synthetic aperture sensors.

Inheritance diagram for makVrv::DtRectangularPyramidModel:
Inheritance graph
[legend]

Public Member Functions

 DtRectangularPyramidModel (makVrv::DtDe &de, makVrv::DtUniqueID id)
 
virtual ~DtRectangularPyramidModel ()
 
Inherited from makVrv::DtModel
virtual const std::string & className () const
 
Model setters (abstract)
virtual void setRelativePosition (double x, double y, double z)=0
 
virtual void setRelativeOrientation (const DtTaitBryan &ori)=0
 
virtual void setSize (double slantHeight)=0
 
virtual void setColor (float r, float g, float b, float a)=0
 
virtual void setInnerColor (float r, float g, float b, float a)=0
 
virtual void setOuterColor (float r, float g, float b, float a)=0
 
virtual void setXHalfAngle (double xHalfAngle)=0
 
virtual void setYHalfAngle (double yHalfAngle)=0
 
virtual void setShowLines (bool showLines)=0
 
virtual void setLinesHaveAlpha (bool lineAlpha)=0
 
virtual void setIsSupportModel (bool isSupport)=0
 
- Public Member Functions inherited from makVrv::DtModel
 DtModel (DtDe &de, DtUniqueID id)
 
virtual ~DtModel ()
 
DtModelInstancecreateModelInstance (const std::string &modelDefName, bool realize=true)
 
virtual void setModelDefinition (const std::string &str)
 
virtual const std::string & modelDefinitionName ()
 
virtual void saveModelToFile (const std::string &filename)
 
virtual DtUniqueID uniqueId () const
 
unsigned int transformSize () const
 
virtual void setPosition (int vtx, const DtVector &position)
 
virtual const DtVector & position (int vtx=0) const
 
virtual void removePosition (int vtx)
 
virtual void setPositionOffset (const DtVector &positionOffset)
 
virtual const DtVector & positionOffset () const
 
virtual void setOrientation (int vtx, const DtTaitBryan &orientation)
 
virtual void setPositionAndOrientation (int vtx, const DtVector &positionOffset, const DtTaitBryan &orientation)
 
virtual const DtTaitBryan & orientation (int vtx=0) const
 
virtual void setOrientationOffset (const DtTaitBryan &orientationOffset)
 
virtual const DtTaitBryan & orientationOffset () const
 
virtual void enableColorBlending (bool b)
 
virtual void setBlendColor (float r, float g, float b, float a)
 
virtual void getBlendColor (float &r, float &g, float &b, float &a)
 
virtual bool colorBlendingEnabled () const
 
virtual void enableLighting (bool l)
 
virtual DtModelSetId modelSet () const
 
const DtVector & boundingBoxExtents () const
 
void getBoundingBoxExtents (double &x, double &y, double &z) const
 
const DtVector & boundingBoxCenter () const
 
virtual void getBoundingBoxCenter (double &x, double &y, double &z) const
 
virtual void getBoundingBoxComponents (DtVector &minimum, DtVector &maximum)
 
void setContributesToBound (bool trueOrFalse)
 
bool contributesToBound () const
 
DtDede ()
 
virtual void setModelInstance (DtModelInstance *modelInstance)
 
virtual void promoteBackgroundModelInstance (const DtModelDefinition &defintion)
 
virtual void setVisible (bool isVisible)
 
virtual bool visible () const
 
DtUniqueID sceneObjectId () const
 
virtual void addedToSceneObjectAsProp (const DtUniqueID &sceneObj)
 
virtual void addedToSceneObject (const DtUniqueID &sceneObj, DtModelSetId modelSet, int visualizerType)
 
virtual void setElementId (DtElementID id)
 
virtual void removedFromSceneObject ()
 
virtual void setSolid (bool isSolid)
 
virtual bool isProp ()
 
virtual void updateMinLastFrameDistance (float distance)
 
virtual void resetLastFrameDistance ()
 
virtual float minLastFrameDistance () const
 
virtual DtModelInstancemodelInstance ()
 
virtual const DtModelInstancemodelInstance () const
 
int visualizerType () const
 
virtual bool supportsMultithreadedLoad ()
 
virtual void backgroundLoad ()
 
virtual void foregroundLoad ()
 
virtual bool isActivelyBackgroundLoading ()
 
virtual DtLoaderHandlegetLoadQueueHandle ()
 

Additional Inherited Members

- Public Attributes inherited from makVrv::DtModel
boost::signalslib::signal
< void(DtModel *)> 
signal_modelToBeDestroyed
 
boost::signalslib::signal
< void(DtModel *)> 
signal_modelChanged
 
boost::signalslib::signal
< bool(DtModel *, bool),
SlotReturnOR
signal_visibilityChangeRequested
 
boost::signalslib::signal
< void(DtModelInstance
*, DtModel *)> 
signal_modelInstanceCreated
 
boost::signalslib::signal
< void(DtModelInstance
*, DtModel *)> 
signal_modelInstanceToBeDestroyed
 
- Protected Types inherited from makVrv::DtModel
typedef std::vector
< ObjectTransform
TransformList
 
- Protected Member Functions inherited from makVrv::DtModel
virtual void addToScene (const DtUniqueID &sceneObjectId, DtModelSetId modelSet, int visualizerType)=0
 
virtual void addToSceneAsProp (const DtUniqueID &sceneObjectId)
 
virtual void removeFromScene ()=0
 
virtual void initializeModelInstance ()
 
void slot_modelInstanceChanged (DtModelInstance *instance)
 
virtual void waitAndClearLoadHandle ()
 
virtual void removedFromLoadQueue ()
 
virtual void setDoneBackgroundLoading ()
 
virtual void setActivelyBackgroundLoading ()
 
- Protected Attributes inherited from makVrv::DtModel
DtLoaderHandlemyInLoadQueueHandle
 
DtDemyDe
 
const DtUniqueID myUniqueId
 
DtUniqueID myElementId
 
DtUniqueID myParentSceneObjectID
 
bool myColorBlendingEnabled
 
DtModelInstancemyBackgroundModelInstance
 
float myMinLastFrameDistance
 
TransformList myTransforms
 
DtModelInstancemyModelInstance
 
DtModelSetId myModelSet
 
int myVisualizerType
 
bool myContributesToBound
 
bool myIsPropFlag
 
float myBlendColor [4]
 
bool myVisibleFlag
 
DtVector myPositionOffset
 
DtTaitBryan myOrientationOffset
 
std::string myModelDefinitionName
 
bool myRequireModelInstance = true
 
- Static Protected Attributes inherited from makVrv::DtModel
static bool theInittedState
 

Constructor & Destructor Documentation

makVrv::DtRectangularPyramidModel::DtRectangularPyramidModel ( makVrv::DtDe de,
makVrv::DtUniqueID  id 
)
virtual makVrv::DtRectangularPyramidModel::~DtRectangularPyramidModel ( )
virtual

DTOR.

Member Function Documentation

virtual const std::string& makVrv::DtRectangularPyramidModel::className ( ) const
virtual

Returns the name of this class.

See Also
makVrv::DtModel::className()

Reimplemented from makVrv::DtModel.

Reimplemented in makVrv::DtOsgRectangularPyramidModel.

virtual void makVrv::DtRectangularPyramidModel::setRelativePosition ( double  x,
double  y,
double  z 
)
pure virtual

Set the relative position of the rectangular pyramid Sets the position of the model instance relative to the parent node.

Parameters
xthe relative x translation
ythe relative y translation
zthe relative z translation

Implemented in makVrv::DtOsgRectangularPyramidModel.

virtual void makVrv::DtRectangularPyramidModel::setRelativeOrientation ( const DtTaitBryan &  ori)
pure virtual

Set the relative orientation of the rectangular pyramid Sets the orientation of the model instance relative to the parent node.

Parameters
yawthe yaw, -DtTaitBryan::psi()
pitchthe pitch, DtTaitBryan::theta()
rollthe roll, DtTaitBryan::phi()

Implemented in makVrv::DtOsgRectangularPyramidModel.

virtual void makVrv::DtRectangularPyramidModel::setSize ( double  slantHeight)
pure virtual

Sets the size of the rectangular pyramid.

Parameters
slantHeightthe length of the pyramid's slant height.

Implemented in makVrv::DtOsgRectangularPyramidModel.

virtual void makVrv::DtRectangularPyramidModel::setColor ( float  r,
float  g,
float  b,
float  a 
)
pure virtual

Sets both the inside and outside colors. Sets the color of the entire rectangular pyramid.

Parameters
rthe red component of the color
gthe green component of the color
bthe blue component of the color
athe alpha component of the color

Reimplemented from makVrv::DtModel.

Implemented in makVrv::DtOsgRectangularPyramidModel.

virtual void makVrv::DtRectangularPyramidModel::setInnerColor ( float  r,
float  g,
float  b,
float  a 
)
pure virtual

Sets the inner color. Sets the color of the inside (near vertex) of the pyramid.

Parameters
rthe red component of the color
gthe green component of the color
bthe blue component of the color
athe alpha component of the color

Implemented in makVrv::DtOsgRectangularPyramidModel.

virtual void makVrv::DtRectangularPyramidModel::setOuterColor ( float  r,
float  g,
float  b,
float  a 
)
pure virtual

Sets the outer color. Sets the color of the outside (far vertices) of the pyramid.

Parameters
rthe red component of the color
gthe green component of the color
bthe blue component of the color
athe alpha component of the color

Implemented in makVrv::DtOsgRectangularPyramidModel.

virtual void makVrv::DtRectangularPyramidModel::setXHalfAngle ( double  xHalfAngle)
pure virtual

Set the half angle amount in the x direction.

Parameters
xHalfAnglethe half-angle in the x direction.

Implemented in makVrv::DtOsgRectangularPyramidModel.

virtual void makVrv::DtRectangularPyramidModel::setYHalfAngle ( double  yHalfAngle)
pure virtual

Set the half angle amount in the y direction.

Parameters
yHalfAnglethe half-angle in the y direction.

Implemented in makVrv::DtOsgRectangularPyramidModel.

virtual void makVrv::DtRectangularPyramidModel::setShowLines ( bool  showLines)
pure virtual

Set whether the wireframe outlines are visible on the geometry Sets whether the wireframe lines for the pyramid should be drawn If set, the wireframe lines are drawn in addition to the geometry faces.

Parameters
showLineswhether the lines should be visible or hidden

Implemented in makVrv::DtOsgRectangularPyramidModel.

virtual void makVrv::DtRectangularPyramidModel::setLinesHaveAlpha ( bool  lineAlpha)
pure virtual

Set whether the wireframe outlines should be rendered with alpha Sets whether the alpha component of the pyramid's colors should apply to the wireframe outlines as well as the faces, or just to the faces.

Parameters
whetherthe lines should be affected by the color's alpha values.

Implemented in makVrv::DtOsgRectangularPyramidModel.

virtual void makVrv::DtRectangularPyramidModel::setIsSupportModel ( bool  isSupport)
pure virtual

Set whether the model is part of the support group (whether or not other scene objects can ground clamp to this model)

Implements makVrv::DtModel.

Implemented in makVrv::DtOsgRectangularPyramidModel.


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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)