VR-Forces 4.0.4 Class Documentation
Classes | Public Member Functions | Protected Types | Protected Attributes
makVrv::DtOsgSegmentPickable Class Reference

Create a series of cylinders that can be used as pickable on lines that only have osg width. More...

List of all members.

Classes

struct  PickableSegment

Public Member Functions

 DtOsgSegmentPickable (osg::Group *parent)
 CTOR.
virtual ~DtOsgSegmentPickable ()
 DTOR.
virtual void updateFromGeometry (const std::vector< osg::Vec3 > &geometry, const std::vector< double > &lineWidths)
 Reworks segments for given geometry (if segment sizes are different)
virtual void updateFromGeometry (const osg::Vec3Array &geometry, const std::vector< double > &lineWidths)
 Reworks segments for given geometry (if segment sizes are different)
virtual void removeAll ()
 Removes all segments.

Protected Types

typedef std::vector
< PickableSegment
PickableSegments

Protected Attributes

osg::Group * myParent
osg::ref_ptr< osg::Group > myPickableTransform
PickableSegments myPickableSegments

Detailed Description

Create a series of cylinders that can be used as pickable on lines that only have osg width.

Pass in the parent to the constructor so it can be added appropriately


Member Typedef Documentation


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual void makVrv::DtOsgSegmentPickable::updateFromGeometry ( const std::vector< osg::Vec3 > &  geometry,
const std::vector< double > &  lineWidths 
) [virtual]

Reworks segments for given geometry (if segment sizes are different)

virtual void makVrv::DtOsgSegmentPickable::updateFromGeometry ( const osg::Vec3Array &  geometry,
const std::vector< double > &  lineWidths 
) [virtual]

Reworks segments for given geometry (if segment sizes are different)

virtual void makVrv::DtOsgSegmentPickable::removeAll ( ) [virtual]

Removes all segments.


Member Data Documentation

osg::Group* makVrv::DtOsgSegmentPickable::myParent [protected]
osg::ref_ptr<osg::Group> makVrv::DtOsgSegmentPickable::myPickableTransform [protected]

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)