VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions
makVrv::Dt3DLineModelInstanceSegmentInterface Class Reference

Dt3DLineModelInstanceSegmentInterface is an abstract class providing a common interface for line model instance segments. More...

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

Public Member Functions

 Dt3DLineModelInstanceSegmentInterface ()
 CTOR.
 ~Dt3DLineModelInstanceSegmentInterface ()
 DTOR.
virtual void setStartPoint (const osg::Vec3d &startPoint)=0
 Set the start point.
virtual void setEndPoint (const osg::Vec3d &endPoint)=0
 Set the end point.
virtual void setColor (const osg::Vec4 &color)=0
 Set the segment's color.
virtual void setVertexColor (unsigned int vertexIndex, const osg::Vec4 &color)=0
 Set the color of one end of the segment.
virtual void setWidth (double lineWidth)=0
 Set the segment width in pixels.
virtual double width () const =0
 Get the segment width in pixels.
virtual void setStipplePattern (unsigned int stipplePattern, int repeatFactor=1)=0
 Set the line's stipple pattern.
virtual osg::Node * rootNode ()=0
 Get the root of the model instance segment.
virtual const std::vector
< osg::Vec3 > & 
pickableVertices () const =0
 Get the vertex list for this segment's pickable.
virtual void update ()=0
 Indicate that its time to prepare actual scene graph data to be rendered.

Detailed Description

Dt3DLineModelInstanceSegmentInterface is an abstract class providing a common interface for line model instance segments.

Constructor & Destructor Documentation

makVrv::Dt3DLineModelInstanceSegmentInterface::Dt3DLineModelInstanceSegmentInterface ( )

CTOR.

makVrv::Dt3DLineModelInstanceSegmentInterface::~Dt3DLineModelInstanceSegmentInterface ( )

DTOR.

Member Function Documentation

virtual void makVrv::Dt3DLineModelInstanceSegmentInterface::setStartPoint ( const osg::Vec3d &  startPoint)
pure virtual
virtual void makVrv::Dt3DLineModelInstanceSegmentInterface::setEndPoint ( const osg::Vec3d &  endPoint)
pure virtual
virtual void makVrv::Dt3DLineModelInstanceSegmentInterface::setColor ( const osg::Vec4 &  color)
pure virtual
virtual void makVrv::Dt3DLineModelInstanceSegmentInterface::setVertexColor ( unsigned int  vertexIndex,
const osg::Vec4 &  color 
)
pure virtual

Set the color of one end of the segment.

Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.

virtual void makVrv::Dt3DLineModelInstanceSegmentInterface::setWidth ( double  lineWidth)
pure virtual

Set the segment width in pixels.

Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.

virtual double makVrv::Dt3DLineModelInstanceSegmentInterface::width ( ) const
pure virtual

Get the segment width in pixels.

Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.

virtual void makVrv::Dt3DLineModelInstanceSegmentInterface::setStipplePattern ( unsigned int  stipplePattern,
int  repeatFactor = 1 
)
pure virtual

Set the line's stipple pattern.

Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.

virtual osg::Node* makVrv::Dt3DLineModelInstanceSegmentInterface::rootNode ( )
pure virtual

Get the root of the model instance segment.

Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.

virtual const std::vector<osg::Vec3>& makVrv::Dt3DLineModelInstanceSegmentInterface::pickableVertices ( ) const
pure virtual

Get the vertex list for this segment's pickable.

Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.

virtual void makVrv::Dt3DLineModelInstanceSegmentInterface::update ( )
pure virtual

Indicate that its time to prepare actual scene graph data to be rendered.

Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.


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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)