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

OSG implementation of overlay polygon model.

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

Classes

struct  DtPolygonInstanceAndText
 

Public Types

using DtPerimeterWrappedTextCollection = std::vector< DtUnicode >
 

Public Member Functions

 DtOverlayPolygonModel (DtDe &de, DtUniqueID &id)
 
virtual ~DtOverlayPolygonModel ()
 
virtual void setFillPattern (const std::vector< unsigned int > &)
 
virtual void setFillPatternFrequency (float frequency)
 
virtual float fillPatternFrequency () const
 
virtual void setOutline (bool)
 
virtual void setEnableDecalProjector (bool enable)
 
virtual bool enableDecalProjector () const
 
virtual const DtVector & origin () const
 
virtual void setColor (float r, float g, float b, float a)
 
virtual void setInsideColor (float r, float g, float b, float a)
 
virtual void getInsideColor (float &r, float &g, float &b, float &a)
 
virtual void setOutsideColor (float r, float g, float b, float a)
 
virtual void getOutsideColor (float &r, float &g, float &b, float &a)
 
virtual void setSolidFillCenter (bool)
 
virtual void setPosition (int vtx, const DtVector &position)
 
virtual void setOrigin (const DtVector &o)
 
virtual void setPoint (int vtx, const DtVector &position)
 
virtual void set2dOffset (int index, float x, float y)
 
virtual void set3dDirection2dLength (int index, float x, float y, float z, float len)
 
virtual void setGroup (int)
 
virtual void setOrientation (int vtx, const DtTaitBryan &orientation)
 
virtual void setTexturePath (const std::string &texturePath)
 
virtual void setIsTextureFillFittedToAreaEnabled (bool isTextureFillFittedToAreaEnabled)
 
virtual void setOutlineTexture (const std::string &texturePath, int width=-1, int height=-1)
 
virtual void setNumTextureTiles (double numTiles)
 
virtual void setSolid (bool solid)
 
virtual void setIsSupportModel (bool isSupport)
 
virtual void addPoint (const DtVector &point, int index)
 
virtual void setPickable (bool enabled)
 
virtual void removePoint (int index)
 
virtual void removePosition (int index)
 
virtual void setStipplePattern (unsigned int stipplePattern)
 
virtual const std::vector
< DtVector > & 
points () const
 
virtual int pointCount () const
 
virtual DtVector point (int) const
 
virtual void setWidth (float width)
 
virtual void setEventWidth (float width)
 
virtual void setEventsEnabled (bool)
 
virtual void setVisible (bool isVisible)
 
virtual void addToScene (const DtUniqueID &sceneObjectId, DtModelSetId modelSet, int visualizerType)
 
virtual void removeFromScene ()
 
virtual void setModelDefinition (const std::string &str)
 
virtual void setIsPerimeterWrappedTextRenderingEnabled (bool)
 
virtual void setPerimeterWrappedTextCollection (const DtPerimeterWrappedTextCollection &)
 
virtual void setPerimeterWrappedTextInterval (int intervalInScreenSpaceCM)
 
virtual void setPerimeterWrappedTextFont (const std::string &fontFile, float fontPointSize)
 
virtual void setPerimeterWrappedTextColor (float r, float g, float b, float a)
 
virtual void setPerimeterWrappedTextBackgroundColor (float r, float g, float b, float a)
 
- Public Member Functions inherited from makVrv::DtPolygonModel
 DtPolygonModel (DtDe &de, DtUniqueID id)
 
virtual ~DtPolygonModel ()
 
virtual void setFill (bool)
 
- Public Member Functions inherited from makVrv::DtModel
 DtModel (DtDe &de, DtUniqueID id)
 
virtual ~DtModel ()
 
DtModelInstancecreateModelInstance (const std::string &modelDefName, bool realize=true)
 
virtual const std::string & modelDefinitionName ()
 
virtual void saveModelToFile (const std::string &filename)
 
virtual const std::string & className () const
 
virtual DtUniqueID uniqueId () const
 
unsigned int transformSize () const
 
virtual const DtVector & position (int vtx=0) const
 
virtual void setPositionOffset (const DtVector &positionOffset)
 
virtual const DtVector & positionOffset () const
 
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 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 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 ()
 

Protected Types

typedef std::map< DtChannel
*, DtPolygonInstanceAndText
ChannelInstances
 
- Protected Types inherited from makVrv::DtModel
typedef std::vector
< ObjectTransform
TransformList
 

Protected Member Functions

virtual void update ()
 
virtual void needsUpdate ()
 
virtual void moveInstancesFromChannelSpecific ()
 
virtual void moveInstancesToChannelSpecific ()
 
virtual void slot_channelCreated (DtChannel *channel)
 
virtual void slot_channelDestroyed (DtChannelManager *channelManager, DtChannel *channel)
 
virtual void slot_channelConfigurationModified (const std::string &deName, const std::string &winName, const std::string &oldChannelName, const DtChannelConfiguration &config)
 
virtual void setupInstanceWithCurrentValues (DtOverlayPolygonModelInstance *, DtOverlayScreenIntervaledTextInstance *, const DtOverlayPolygonModelInstance::VertexList &)
 
- Protected Member Functions inherited from makVrv::DtModel
virtual void addToSceneAsProp (const DtUniqueID &sceneObjectId)
 
virtual void initializeModelInstance ()
 
void slot_modelInstanceChanged (DtModelInstance *instance)
 
virtual void waitAndClearLoadHandle ()
 
virtual void removedFromLoadQueue ()
 
virtual void setDoneBackgroundLoading ()
 
virtual void setActivelyBackgroundLoading ()
 

Protected Attributes

bool myEventsEnabled
 
DtVector myOrigin
 
DtTaitBryan myRotation
 
DtSignalConnectionManager myLifetimeConnections
 
DtSignalConnectionManager myChannelConnections
 
bool myChannelSpecificMode
 
ChannelInstances myChannelInstances
 
bool myNeedsUpdate
 
bool myIsPerimeterWrappedTextRenderingEnabled
 
DtPerimeterWrappedTextCollection myPerimeterWrappedTextCollection
 
int myPerimeterWrappedTextIntervalInScreenSpaceCM
 
std::string myPerimeterWrappedTextFontFile
 
float myPerimeterWrappedTextFontPointSize
 
float myPerimeterWrappedTextFontColor [4]
 
float myPerimeterWrappedTextBackgroundColor [4]
 
std::string myModelDefinition
 
float myInsideColor [4]
 
float myOutsideColor [4]
 
float myWidth
 
std::string myTexturePath
 
std::string myOutlineTexture
 
int myOutlineTextureTileWidth
 
int myOutlineTextureTileHeight
 
std::vector< unsigned intmyFillPattern
 
float myFillPatternFrequency
 
bool myOutline
 
bool mySolidFillCenter
 
double myNumTextureTiles
 
bool myPickable
 
unsigned int myStipplePattern
 
float myEventWidth
 
bool mySolid
 
int myGroup
 
bool myEnableDecalProjector
 
bool myIsTextureFillFittedToAreaEnabled
 
- 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
 

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
 
- Static Protected Attributes inherited from makVrv::DtModel
static bool theInittedState
 

Member Typedef Documentation

Constructor & Destructor Documentation

makVrv::DtOverlayPolygonModel::DtOverlayPolygonModel ( DtDe de,
DtUniqueID id 
)

CTOR.

virtual makVrv::DtOverlayPolygonModel::~DtOverlayPolygonModel ( )
virtual

DTOR.

Member Function Documentation

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

Set the color of the polygon.

Implements makVrv::DtPolygonModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setInsideColor ( float  r,
float  g,
float  b,
float  a 
)
virtual

Set the color at the center of the ellipse.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::getInsideColor ( float &  r,
float &  g,
float &  b,
float &  a 
)
virtual

Retrieves the inside color.

virtual void makVrv::DtOverlayPolygonModel::setOutsideColor ( float  r,
float  g,
float  b,
float  a 
)
virtual

Set the color on the outside of the ellipse.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::getOutsideColor ( float &  r,
float &  g,
float &  b,
float &  a 
)
virtual

Retrieves the inside color.

virtual void makVrv::DtOverlayPolygonModel::setSolidFillCenter ( bool  )
virtual

Sets to fill the center solid (if filled) not gradiant. Default is false.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setPosition ( int  vtx,
const DtVector &  position 
)
virtual

No longer sets the origin, in order to allow the moving of vtx0.

Reimplemented from makVrv::DtModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setOrigin ( const DtVector &  o)
virtual

Will set in model instance.

Implements makVrv::DtPolygonModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setPoint ( int  vtx,
const DtVector &  position 
)
virtual

Will set point in the model instance.

Implements makVrv::DtPolygonModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::set2dOffset ( int  index,
float  x,
float  y 
)
virtual

Sets the 2D offset of a vertex.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::set3dDirection2dLength ( int  index,
float  x,
float  y,
float  z,
float  len 
)
virtual

Sets a 3D direction with a 2D length of a vertex. This only works with outline polygons.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setGroup ( int  )
virtual

The higher the Z order the "closer" to the eyepoint this element will be drawn. Use this variable to stack overlay objects in the particular order you want them displayed.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setOrientation ( int  vtx,
const DtTaitBryan &  orientation 
)
virtual

Set the orientation of a vertex of the polygon; has no effect.

Reimplemented from makVrv::DtModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setTexturePath ( const std::string &  texturePath)
virtual

Set the path to the polygon's texture.

Implements makVrv::DtPolygonModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setIsTextureFillFittedToAreaEnabled ( bool  isTextureFillFittedToAreaEnabled)
virtual

If using a texture-based fill, set whether or not the texture should be fitted to fill the entire area. If a texture is fitted to fill the entire area, the texture will not be rendered multiple times in a repeated/tile-like manner.

virtual void makVrv::DtOverlayPolygonModel::setOutlineTexture ( const std::string &  texturePath,
int  width = -1,
int  height = -1 
)
virtual

Set the path to the polygon's outline texture as well as the tile size the texture will be scaled to.

Parameters
texturePathThe path to the polygon's outline texture
widthThe width to scale to. If this argument or height are -1, no scaling is applied.
heightThe height to scale to. If this argument or width are -1, no scaling is applied.
virtual void makVrv::DtOverlayPolygonModel::setNumTextureTiles ( double  numTiles)
virtual

Set the number of texture tiles.

Implements makVrv::DtPolygonModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setSolid ( bool  solid)
virtual

Set a object to be solid.

Reimplemented from makVrv::DtModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setIsSupportModel ( bool  isSupport)
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.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::addPoint ( const DtVector &  point,
int  index 
)
virtual

Add a new point to the polygon at the specified index, or, at the end if index is -1.

Implements makVrv::DtPolygonModel.

virtual void makVrv::DtOverlayPolygonModel::setPickable ( bool  enabled)
virtual

Sets whether or not the polygon is pickable.

Implements makVrv::DtPolygonModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::removePoint ( int  index)
virtual

Removes the point from the specified index.

Implements makVrv::DtPolygonModel.

virtual void makVrv::DtOverlayPolygonModel::removePosition ( int  index)
virtual

Calls removePoint.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOverlayPolygonModel::setStipplePattern ( unsigned int  stipplePattern)
virtual

Sets stipple pattern for the polygon.

Implements makVrv::DtPolygonModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual const std::vector<DtVector>& makVrv::DtOverlayPolygonModel::points ( ) const
virtual

Points that make up this polygon.

Implements makVrv::DtPolygonModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual int makVrv::DtOverlayPolygonModel::pointCount ( ) const
virtual

Retrieves the number of points in the model.

Implements makVrv::DtPolygonModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual DtVector makVrv::DtOverlayPolygonModel::point ( int  ) const
virtual

Retrieves the point inclusive of the origin.

Implements makVrv::DtPolygonModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setWidth ( float  width)
virtual

Set the polygon outline width.

Implements makVrv::DtPolygonModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setEventWidth ( float  width)
virtual

Set the polygon outline width used for event picking.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setEventsEnabled ( bool  )
virtual

Sets whether or not mouse events are enabled.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setVisible ( bool  isVisible)
virtual

Sets whether or not the polygon is visible.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOverlayPolygonModel::addToScene ( const DtUniqueID sceneObjectId,
DtModelSetId  modelSet,
int  visualizerType 
)
virtual

Add the polygon to the scene.

Implements makVrv::DtModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::removeFromScene ( )
virtual

Remove the polygon from the scene.

Implements makVrv::DtModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setModelDefinition ( const std::string &  str)
virtual

Sets the model definition on the model instance.

Reimplemented from makVrv::DtModel.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setFillPattern ( const std::vector< unsigned int > &  )
virtual

Sets a fill pattern (32x32)

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setFillPatternFrequency ( float  frequency)
virtual

Sets the fill pattern tiling frequency. The frequency needs to be 1 / x where x is a whole number. examples: frequency = 1.0 : the tiled pattern will tile normally frequency = 0.5 : the tiled pattern will appear half as often.

virtual float makVrv::DtOverlayPolygonModel::fillPatternFrequency ( ) const
virtual

Returns the fill pattern tiling frequency.

virtual void makVrv::DtOverlayPolygonModel::setOutline ( bool  )
virtual

Sets whether or not to outline the polygon with a scribe as if unfilled, even when filled. Only valid if fill is also true.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setEnableDecalProjector ( bool  enable)
virtual

Set whether or not the geometry is used for a decal projector.

virtual bool makVrv::DtOverlayPolygonModel::enableDecalProjector ( ) const
virtual

Returns whether or not the geometry is used for a decal projector.

virtual void makVrv::DtOverlayPolygonModel::setIsPerimeterWrappedTextRenderingEnabled ( bool  )
virtual

Methods for rendering perimeter wrapped text.

Whether or not to render perimeter wrapped text.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setPerimeterWrappedTextCollection ( const DtPerimeterWrappedTextCollection )
virtual

Sets the collection of strings that will be rendered and wrapped around the perimeter of the polygon. The order they will be rendered in will depend on their order in the passed DtPerimeterWrappedTextCollection.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setPerimeterWrappedTextInterval ( int  intervalInScreenSpaceCM)
virtual

Set the interval, in centimeters of screen space, at which the perimeter wrapped text will appear at. If the perimeter of the polygon does not exceed: minimumScreenSpacePerimeterRequired = # of perimeter wrapped text strings * interval in CM) then, the perimeter wrapped text is not rendered at all.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setPerimeterWrappedTextFont ( const std::string &  fontFile,
float  fontPointSize 
)
virtual

Set the font that the perimeter wrapped text will use.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setPerimeterWrappedTextColor ( float  r,
float  g,
float  b,
float  a 
)
virtual

Set the color that the perimeter wrapped text will use.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::setPerimeterWrappedTextBackgroundColor ( float  r,
float  g,
float  b,
float  a 
)
virtual

Set the background color that the perimeter wrapped text will use.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual const DtVector& makVrv::DtOverlayPolygonModel::origin ( ) const
virtual

Get the object's origin.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::update ( )
protectedvirtual

Called on tick when updated, calls updateGeometry() of model instance.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::needsUpdate ( )
protectedvirtual

Sets needs update flag such that on next update pass the object is updated.

Reimplemented in makVrv::DtOsgOverlayRectangleModel.

virtual void makVrv::DtOverlayPolygonModel::moveInstancesFromChannelSpecific ( )
protectedvirtual

Moves instances from channel specific groups back to model set/visualizer groups. This will mean destroying all channel specific instances and creating a single instance.

virtual void makVrv::DtOverlayPolygonModel::moveInstancesToChannelSpecific ( )
protectedvirtual

Moves the single instance to channel specific instances. Will make connections for channels being added and removed. This code is to allow for fixed sized items on different channels.

virtual void makVrv::DtOverlayPolygonModel::slot_channelCreated ( DtChannel channel)
protectedvirtual

Called when channel is created, if the model set is this model set then add a new model instance.

virtual void makVrv::DtOverlayPolygonModel::slot_channelDestroyed ( DtChannelManager channelManager,
DtChannel channel 
)
protectedvirtual

If the channel destroyed contains an instance of this model, destroy that model instance.

virtual void makVrv::DtOverlayPolygonModel::slot_channelConfigurationModified ( const std::string &  deName,
const std::string &  winName,
const std::string &  oldChannelName,
const DtChannelConfiguration config 
)
protectedvirtual

Check to see if model instances associated with this channel need to be created or destroyed.

virtual void makVrv::DtOverlayPolygonModel::setupInstanceWithCurrentValues ( DtOverlayPolygonModelInstance ,
DtOverlayScreenIntervaledTextInstance ,
const DtOverlayPolygonModelInstance::VertexList  
)
protectedvirtual

Sets up the model instance with current values of this model.

Member Data Documentation

bool makVrv::DtOverlayPolygonModel::myEventsEnabled
protected
DtVector makVrv::DtOverlayPolygonModel::myOrigin
protected
DtTaitBryan makVrv::DtOverlayPolygonModel::myRotation
protected
DtSignalConnectionManager makVrv::DtOverlayPolygonModel::myLifetimeConnections
protected
DtSignalConnectionManager makVrv::DtOverlayPolygonModel::myChannelConnections
protected
bool makVrv::DtOverlayPolygonModel::myChannelSpecificMode
protected

Set to true if displaying model instances on a per channel basis. Default is false.

bool makVrv::DtOverlayPolygonModel::myIsPerimeterWrappedTextRenderingEnabled
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

DtPerimeterWrappedTextCollection makVrv::DtOverlayPolygonModel::myPerimeterWrappedTextCollection
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

int makVrv::DtOverlayPolygonModel::myPerimeterWrappedTextIntervalInScreenSpaceCM
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

std::string makVrv::DtOverlayPolygonModel::myPerimeterWrappedTextFontFile
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

float makVrv::DtOverlayPolygonModel::myPerimeterWrappedTextFontPointSize
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

float makVrv::DtOverlayPolygonModel::myPerimeterWrappedTextFontColor[4]
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

float makVrv::DtOverlayPolygonModel::myPerimeterWrappedTextBackgroundColor[4]
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

ChannelInstances makVrv::DtOverlayPolygonModel::myChannelInstances
protected
bool makVrv::DtOverlayPolygonModel::myNeedsUpdate
protected
std::string makVrv::DtOverlayPolygonModel::myModelDefinition
protected

Variables that are saved in order to switch between channel instance and model set instance.

float makVrv::DtOverlayPolygonModel::myInsideColor[4]
protected

Variables that are saved in order to switch between channel instance and model set instance.

float makVrv::DtOverlayPolygonModel::myOutsideColor[4]
protected

Variables that are saved in order to switch between channel instance and model set instance.

float makVrv::DtOverlayPolygonModel::myWidth
protected

Variables that are saved in order to switch between channel instance and model set instance.

std::string makVrv::DtOverlayPolygonModel::myTexturePath
protected

Variables that are saved in order to switch between channel instance and model set instance.

std::string makVrv::DtOverlayPolygonModel::myOutlineTexture
protected

Variables that are saved in order to switch between channel instance and model set instance.

int makVrv::DtOverlayPolygonModel::myOutlineTextureTileWidth
protected

Variables that are saved in order to switch between channel instance and model set instance.

int makVrv::DtOverlayPolygonModel::myOutlineTextureTileHeight
protected

Variables that are saved in order to switch between channel instance and model set instance.

std::vector<unsigned int> makVrv::DtOverlayPolygonModel::myFillPattern
protected

Variables that are saved in order to switch between channel instance and model set instance.

float makVrv::DtOverlayPolygonModel::myFillPatternFrequency
protected

Variables that are saved in order to switch between channel instance and model set instance.

bool makVrv::DtOverlayPolygonModel::myOutline
protected

Variables that are saved in order to switch between channel instance and model set instance.

bool makVrv::DtOverlayPolygonModel::mySolidFillCenter
protected

Variables that are saved in order to switch between channel instance and model set instance.

double makVrv::DtOverlayPolygonModel::myNumTextureTiles
protected

Variables that are saved in order to switch between channel instance and model set instance.

bool makVrv::DtOverlayPolygonModel::myPickable
protected

Variables that are saved in order to switch between channel instance and model set instance.

unsigned int makVrv::DtOverlayPolygonModel::myStipplePattern
protected

Variables that are saved in order to switch between channel instance and model set instance.

float makVrv::DtOverlayPolygonModel::myEventWidth
protected

Variables that are saved in order to switch between channel instance and model set instance.

bool makVrv::DtOverlayPolygonModel::mySolid
protected

Variables that are saved in order to switch between channel instance and model set instance.

int makVrv::DtOverlayPolygonModel::myGroup
protected

Variables that are saved in order to switch between channel instance and model set instance.

bool makVrv::DtOverlayPolygonModel::myEnableDecalProjector
protected

Variables that are saved in order to switch between channel instance and model set instance.

bool makVrv::DtOverlayPolygonModel::myIsTextureFillFittedToAreaEnabled
protected

Variables that are saved in order to switch between channel instance and model set instance.


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)