![]() |
VR-Forces 5.0.3 Developer's Guide
|
Dt3DVolumetricLineModel is the model interface 3D volumetric lines.
The difference between this class and the Dt2DVolumetricLineModel class is that you can also specify a physical line height (in meters). This, along with a physical line width, will give this model the look of a corridor, with the original line points occupying the center of the model.
You would use this class if you want to represent a line as a 3D corridor.
By default this object is filled, however, only the top, bottom, left and right of the shape are filled. The inside volume of the object will be unfilled.
Also, by default, the shape will be scribed black. This means the outline and connecting segments will be scribed in a black color. To turn this off call setScribed(false)

Public Member Functions | |
| Dt3DVolumetricLineModel (DtDe &de, DtUniqueID id) | |
| virtual | ~Dt3DVolumetricLineModel () |
| virtual void | setPhysicalLineHeight (double height)=0 |
| virtual void | setDimensions (double w, double h)=0 |
| virtual void | setPhysicalLineWidth (double width)=0 |
| virtual void | setPickable (bool)=0 |
| virtual void | setSolid (bool)=0 |
| virtual void | setScribed (bool)=0 |
| virtual void | setScribeColor (float r, float g, float b, float a)=0 |
| virtual void | setScribeWidth (float)=0 |
| virtual void | setUseDynamicOrigin (bool)=0 |
| virtual void | setColor (float r, float g, float b, float a)=0 |
| virtual void | setOutsideColor (float r, float g, float b, float a)=0 |
| virtual void | setInsideColor (float r, float g, float b, float a)=0 |
Public Member Functions inherited from makVrv::DtModel | |
| DtModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtModel () |
| DtModelInstance * | createModelInstance (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 const std::string & | className () 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 int | 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 |
| DtDe & | de () |
| virtual void | setModelInstance (DtModelInstance *modelInstance) |
| virtual void | promoteBackgroundModelInstance (DtModelDefinition &defintion) |
| virtual void | setVisible (bool isVisible) |
| virtual bool | visible () const |
| DtUniqueID | parentSceneObjectID () const |
| virtual void | addedToSceneObjectAsProp (const DtUniqueID &sceneObj) |
| virtual void | addedToSceneObject (const DtUniqueID &sceneObj, int modelSet, int visualizerType) |
| virtual void | setElementId (DtUniqueID id) |
| virtual void | removedFromSceneObject () |
| virtual void | setIsSupportModel (bool isSupport)=0 |
| virtual bool | isProp () |
| virtual void | updateMinLastFrameDistance (float distance) |
| virtual void | resetLastFrameDistance () |
| virtual float | minLastFrameDistance () const |
| virtual DtModelInstance * | modelInstance () |
| virtual const DtModelInstance * | modelInstance () const |
| int | visualizerType () const |
| virtual bool | supportsMultithreadedLoad () |
| virtual void | backgroundLoad () |
| virtual void | foregroundLoad () |
| virtual bool | isActivelyBackgroundLoading () |
| virtual DtLoaderHandle * | getLoadQueueHandle () |
|
inline |
CTOR.
|
inlinevirtual |
DTOR.
|
pure virtual |
Color setting routines.
Set the color of the line. If the inside color has already been set, this will only change the outside color
Reimplemented from makVrv::DtModel.
Implemented in makVrv::DtOsg3DVolumetricLineModel.
|
pure virtual |
Set the outside color of the line, not changing the inside color.
Implemented in makVrv::DtOsg3DVolumetricLineModel.
|
pure virtual |
Set the inside color of the line, not changing the outside color.
Implemented in makVrv::DtOsg3DVolumetricLineModel.
|
pure virtual |
Set the height (in meters) of the line.
Implemented in makVrv::DtOsg3DVolumetricLineModel.
Sets the width and height of the line.
Implemented in makVrv::DtOsg3DVolumetricLineModel.
|
pure virtual |
Width (in meters) of the line.
Implemented in makVrv::DtOsg3DVolumetricLineModel.
|
pure virtual |
Sets whether or not the line is selectable.
Implemented in makVrv::DtOsg3DVolumetricLineModel.
|
pure virtual |
Sets whether or not this volumetric line is filled or just outlined.
Reimplemented from makVrv::DtModel.
Implemented in makVrv::DtOsg3DVolumetricLineModel.
|
pure virtual |
Sets whether or not the line is scribed.
Implemented in makVrv::DtOsg3DVolumetricLineModel.
|
pure virtual |
Set the scribe line color.
Implemented in makVrv::DtOsg3DVolumetricLineModel.
|
pure virtual |
Sets the width of the scribe line.
Implemented in makVrv::DtOsg3DVolumetricLineModel.
|
pure virtual |
If true, when the origin changes all the points move with the origin. Default is false. This means that when the origin changes only point 0 moves.
Implemented in makVrv::DtOsg3DVolumetricLineModel.