VR-Forces 4.0.4 Class Documentation
Public Member Functions
makVrv::DtScribeBoxModel Class Reference

This is the abstract interface for a model class that is used to create attachable line objects. More...

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

List of all members.

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 ).

Detailed Description

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


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

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.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)