![]() |
VR-Forces 4.0.4 Class Documentation
|
This is the abstract interface for a model class that is used to create attachable line objects. More...

Public Member Functions | |
| DtScribeBoxModel (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtScribeBoxModel () |
| DTOR. | |
| virtual void | setColor (float r, float g, float b, float alpha)=0 |
| Sets the color of the scribe line. | |
| virtual void | setLineWidth (double lineWidth)=0 |
| Sets the width of the scribe line. | |
| virtual void | setOccluded (bool)=0 |
| Sets whether or not scribe is occluded (default is false) | |
| virtual void | setLineSmoothing (bool)=0 |
| Sets whether or not lines are smoothing. | |
| virtual void | setModelScalingEnabled (bool b)=0 |
| Indicate whether or not the scribe box may be model-scaled Default is false. | |
| virtual void | setLocalModelScalingEnabled (bool enabled)=0 |
| Set whether local model scaling is enabled ( false by default ) | |
| virtual void | setLocalModelScalingAmount (float localScale)=0 |
| Set the amount of local scaling to apply ( when enabled ). | |
This is the abstract interface for a model class that is used to create attachable line objects.
Renaming (when the Attachable- is removed from the class name) is recommended
| makVrv::DtScribeBoxModel::DtScribeBoxModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
| virtual makVrv::DtScribeBoxModel::~DtScribeBoxModel | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtScribeBoxModel::setColor | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | alpha | ||
| ) | [pure virtual] |
Sets the color of the scribe line.
Reimplemented from makVrv::DtModel.
Implemented in makVrv::DtOsgScribeBoxModel.
| virtual void makVrv::DtScribeBoxModel::setLineWidth | ( | double | lineWidth | ) | [pure virtual] |
Sets the width of the scribe line.
Implemented in makVrv::DtOsgScribeBoxModel.
| virtual void makVrv::DtScribeBoxModel::setOccluded | ( | bool | ) | [pure virtual] |
Sets whether or not scribe is occluded (default is false)
Implemented in makVrv::DtOsgScribeBoxModel.
| virtual void makVrv::DtScribeBoxModel::setLineSmoothing | ( | bool | ) | [pure virtual] |
Sets whether or not lines are smoothing.
Default is false. If line smoothing is on and line is not occluded, drawing might look a little odd due to the fact that smoothing needs blending
Implemented in makVrv::DtOsgScribeBoxModel.
| virtual void makVrv::DtScribeBoxModel::setModelScalingEnabled | ( | bool | b | ) | [pure virtual] |
Indicate whether or not the scribe box may be model-scaled Default is false.
Implemented in makVrv::DtOsgScribeBoxModel.
| virtual void makVrv::DtScribeBoxModel::setLocalModelScalingEnabled | ( | bool | enabled | ) | [pure virtual] |
Set whether local model scaling is enabled ( false by default )
Implemented in makVrv::DtOsgScribeBoxModel.
| virtual void makVrv::DtScribeBoxModel::setLocalModelScalingAmount | ( | float | localScale | ) | [pure virtual] |
Set the amount of local scaling to apply ( when enabled ).
Implemented in makVrv::DtOsgScribeBoxModel.