![]() |
VR-Forces 4.1 Class Documentation
|
Dt3DLineModelInstanceSegmentInterface is an abstract class providing a common interface for line model instance segments. More...

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. | |
Dt3DLineModelInstanceSegmentInterface is an abstract class providing a common interface for line model instance segments.
| makVrv::Dt3DLineModelInstanceSegmentInterface::Dt3DLineModelInstanceSegmentInterface | ( | ) |
CTOR.
| makVrv::Dt3DLineModelInstanceSegmentInterface::~Dt3DLineModelInstanceSegmentInterface | ( | ) |
DTOR.
|
pure virtual |
Set the start point.
Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.
|
pure virtual |
Set the end point.
Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.
|
pure virtual |
Set the segment's color.
Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.
|
pure virtual |
Set the color of one end of the segment.
Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.
|
pure virtual |
Set the segment width in pixels.
Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.
|
pure virtual |
Get the segment width in pixels.
Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.
|
pure virtual |
Set the line's stipple pattern.
Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.
|
pure virtual |
Get the root of the model instance segment.
Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.
|
pure virtual |
Get the vertex list for this segment's pickable.
Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.
|
pure virtual |
Indicate that its time to prepare actual scene graph data to be rendered.
Implemented in makVrv::Dt3DGreatCircleArcModelInstanceSegment, and makVrv::Dt3DLineModelInstanceSegment.