VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions
makVrv::DtWindowArc Class Referenceabstract

Interface for an Arc drawn in screen space.

An arc with the following geometric parameters:

An arc with the following geometric parameters:

Special Considerations:

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

Public Member Functions

 DtWindowArc (DtDe &de, DtUniqueID id)
 
virtual ~DtWindowArc ()
 
virtual void setOrigin (const DtVector &position)=0
 
virtual DtVector getOrigin () const =0
 
virtual void setDimensions (double x, double y)=0
 
virtual bool getDimensions (double &x, double &y) const =0
 
virtual void setScale (float scale)=0
 
virtual float scale () const =0
 
virtual void setVisible (bool isVisible)=0
 
virtual bool isVisible () const =0
 
virtual void setMaxAngleSegment (double angleSegmentMax)=0
 
virtual double maxAngleSegment () const =0
 
virtual void setStartAngle (double startAngle)=0
 
virtual double startAngle () const =0
 
virtual void setEndAngle (double endAngle)=0
 
virtual double endAngle () const =0
 
virtual void setStipplePattern (unsigned int stipplePattern)=0
 
virtual unsigned int stipplePattern () const =0
 
virtual void setLineWidth (float width)=0
 
virtual float lineWidth () const =0
 
virtual void setColor (float r, float g, float b, float a)=0
 
virtual bool getColor (float &r, float &g, float &b, float &a) const =0
 
- Public Member Functions inherited from makVrv::DtWindowObject
 DtWindowObject (DtDe &de, DtUniqueID id)
 
virtual ~DtWindowObject ()
 
virtual bool visible ()
 
virtual DtUniqueID uniqueId ()
 
DtWindowObjectgetParent ()
 
virtual ChildList childList ()
 
virtual void addChild (DtUniqueID id)
 
virtual void removeChild (DtUniqueID id)
 
virtual void getColor (float &r, float &g, float &b, float &a)
 
virtual void slot_postTick ()
 
virtual void needsUpdate ()
 
virtual Transform windowTransform ()
 
virtual DtClipBox clipBox ()
 
virtual void setParentId (DtUniqueID parentId)
 
virtual DtUniqueID getParentId ()
 
virtual void setPosition (double x, double y)
 
virtual void getPosition (double &x, double &y)
 
virtual void setScale (double scale)
 
virtual void setScale (double x, double y)
 
virtual void getScale (double &x, double &y)
 
virtual void setRotation (double rotation)
 
virtual void getRotation (double &rotation)
 
virtual void setInheritColor (bool inheritColor)
 
virtual bool inheritColor ()
 
virtual void setGroup (int id)
 
virtual int group ()
 
virtual void setFlashing (bool flashing, double interval)
 
virtual void getFlashing (bool &flashing, double &interval)
 
virtual void setChannelOverlay (const std::string &displayName, const std::string &windowName, const std::string &channelName)
 
virtual void getChannelOverlay (std::string &displayName, std::string &windowName, std::string &channelName)
 

Private Member Functions

 DtWindowArc ()
 
 DtWindowArc (const DtWindowArc &)
 
DtWindowArcoperator= (const DtWindowArc &)
 

Additional Inherited Members

- Public Types inherited from makVrv::DtWindowObject
typedef std::list< DtUniqueIDChildList
 
typedef DtVector2< doubleDtVector2d
 
typedef DtMatrix3< doubleTransform
 
- Protected Attributes inherited from makVrv::DtWindowObject
DtDemyDe
 
DtUniqueID myUniqueId
 
DtUniqueID myParentId
 
ChildList myChildIdList
 
DtVector2d myPosition
 
DtVector2d myScale
 
DtVector2d myWindowScale
 
double myRotation
 
double myFlashInterval
 
double myLastFlashTime
 
double myLastSimTime
 
bool myVisible
 
bool myLastVisibilityFlash
 
bool myInheritColor
 
bool myFlashing
 
float myColorR
 
float myColorG
 
float myColorB
 
float myColorA
 
Transform myWindowTransform
 
DtClipBox myClipBox
 
int myGroup
 
std::string myDisplayName
 
std::string myWindowName
 
std::string myChannelName
 

Constructor & Destructor Documentation

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

CTOR.

virtual makVrv::DtWindowArc::~DtWindowArc ( )
virtual

DTOR.

makVrv::DtWindowArc::DtWindowArc ( )
private

Default Constructor not implemented.

makVrv::DtWindowArc::DtWindowArc ( const DtWindowArc )
private

Copy Constructor not implemented – Copy not allowed.

Member Function Documentation

virtual void makVrv::DtWindowArc::setOrigin ( const DtVector position)
pure virtual

Set the position of the arc, in window coordinates (0.0 - 1.0)

Implemented in makVrv::DtOsgWindowArc.

virtual DtVector makVrv::DtWindowArc::getOrigin ( ) const
pure virtual

Implemented in makVrv::DtOsgWindowArc.

virtual void makVrv::DtWindowArc::setDimensions ( double  x,
double  y 
)
pure virtual

Set/Get the axis lengths of the ellipse used to draw the arc.

Implemented in makVrv::DtOsgWindowArc.

virtual bool makVrv::DtWindowArc::getDimensions ( double x,
double y 
) const
pure virtual

Set/Get the axis lengths of the ellipse used to draw the arc.

Implemented in makVrv::DtOsgWindowArc.

virtual void makVrv::DtWindowArc::setScale ( float  scale)
pure virtual

Set/Get the scale factor of the arc.

Implemented in makVrv::DtOsgWindowArc.

virtual float makVrv::DtWindowArc::scale ( ) const
pure virtual

Set/Get the scale factor of the arc.

Implemented in makVrv::DtOsgWindowArc.

virtual void makVrv::DtWindowArc::setVisible ( bool  isVisible)
pure virtual

Set/Get whether the arc is visible.

Reimplemented from makVrv::DtWindowObject.

Implemented in makVrv::DtOsgWindowArc.

virtual bool makVrv::DtWindowArc::isVisible ( ) const
pure virtual

Set/Get whether the arc is visible.

Implemented in makVrv::DtOsgWindowArc.

virtual void makVrv::DtWindowArc::setMaxAngleSegment ( double  angleSegmentMax)
pure virtual

Set/Get the max angle segment used when building the geometry.

Implemented in makVrv::DtOsgWindowArc.

virtual double makVrv::DtWindowArc::maxAngleSegment ( ) const
pure virtual

Set/Get the max angle segment used when building the geometry.

Implemented in makVrv::DtOsgWindowArc.

virtual void makVrv::DtWindowArc::setStartAngle ( double  startAngle)
pure virtual

Set/Get the start angle of the arc, in radians.

Implemented in makVrv::DtOsgWindowArc.

virtual double makVrv::DtWindowArc::startAngle ( ) const
pure virtual

Set/Get the start angle of the arc, in radians.

Implemented in makVrv::DtOsgWindowArc.

virtual void makVrv::DtWindowArc::setEndAngle ( double  endAngle)
pure virtual

Set/Get the end angle of the arc, in radians.

Implemented in makVrv::DtOsgWindowArc.

virtual double makVrv::DtWindowArc::endAngle ( ) const
pure virtual

Set/Get the end angle of the arc, in radians.

Implemented in makVrv::DtOsgWindowArc.

virtual void makVrv::DtWindowArc::setStipplePattern ( unsigned int  stipplePattern)
pure virtual

Set/Get the stipple line pattern of the arc.

Implemented in makVrv::DtOsgWindowArc.

virtual unsigned int makVrv::DtWindowArc::stipplePattern ( ) const
pure virtual

Set/Get the stipple line pattern of the arc.

Implemented in makVrv::DtOsgWindowArc.

virtual void makVrv::DtWindowArc::setLineWidth ( float  width)
pure virtual

Set/Get the line width of the arc Uses DtLineSegmentInterface::setWidth.

Implemented in makVrv::DtOsgWindowArc.

virtual float makVrv::DtWindowArc::lineWidth ( ) const
pure virtual

Set/Get the line width of the arc Uses DtLineSegmentInterface::setWidth.

Implemented in makVrv::DtOsgWindowArc.

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

Set/Get the color of the arc Valid range for argument values are 0.0 - 1.0.

Reimplemented from makVrv::DtWindowObject.

Implemented in makVrv::DtOsgWindowArc.

virtual bool makVrv::DtWindowArc::getColor ( float &  r,
float &  g,
float &  b,
float &  a 
) const
pure virtual

Set/Get the color of the arc Valid range for argument values are 0.0 - 1.0.

Implemented in makVrv::DtOsgWindowArc.

DtWindowArc& makVrv::DtWindowArc::operator= ( const DtWindowArc )
private

Assignment Operator not implemented – Copy not allowed.


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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)