![]() |
VR-Forces 4.3 Class Documentation
|
This model draws lines in the scene using data pulled from the kynapse shared buffer. More...

Classes | |
| class | Buffer |
| Contains all the regional nodes for a single memory block so each can be redraw independantly. More... | |
| struct | BufferInfo |
| class | DtRegionalGeodeInfo |
| Regional nodes are a simple way to spatially index the geometries into separate osg nodes so they can be effectively culled. More... | |
Public Types | |
| typedef std::vector< BufferInfo > | BufferVector |
| typedef std::map< long, Buffer > | BufferMap |
| typedef std::map< std::string, bool > | TagSet |
Public Member Functions | |
| DtKynapseLinesModel (makVrv::DtDe &de, makVrv::DtUniqueID id, double distanceThreshold=500000) | |
| CTOR. | |
| virtual | ~DtKynapseLinesModel () |
| DTOR. | |
| virtual void | init (std::string &str, bool useLocalCoord=false) |
| Initialize. | |
| virtual void | update () |
| Update the lines according to the current state of the shared memory buffer. | |
| virtual void | updateAll () |
| Update the lines according to the current state of the shared memory buffer. | |
| virtual BufferVector | bufferNames () |
| Information about current buffers. | |
| virtual void | drawBufferWithName (std::string tag, bool draw) |
| Set whether a given buffer is drawn. | |
| virtual void | transformToLocal (DtVector &) |
| Transform vector in local coordinates according to useLocalCoord init parameter. | |
| virtual osg::Group * | parentNode () |
| Group node representing the parent of the entire lines model geometry. | |
| virtual double | distanceThresholdSquared () |
| Regional node lookup distance threshold squared. | |
| DtDebugDrawerSharedMemoryManager & | memory () |
| Lazy create shared memory. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| osg::ref_ptr< osg::Group > | myGroupNode |
| BufferMap | myBufferMap |
| TagSet | myDrawingTags |
| boost::scoped_ptr < DtDebugDrawerSharedMemoryManager > | sharedMemory |
| bool | myUseLocalCoord |
| double | myDistanceThresholdSquared |
| DtDebugDrawerNameManager::MemoryType | myType |
This model draws lines in the scene using data pulled from the kynapse shared buffer.
Note that this object will draw whatever is in the kynapse shared buffer on the local machine, i.e. there is no synchronization across machines.
| typedef std::vector<BufferInfo> makVrf::DtKynapseLinesModel::BufferVector |
| typedef std::map<long,Buffer> makVrf::DtKynapseLinesModel::BufferMap |
| typedef std::map<std::string, bool> makVrf::DtKynapseLinesModel::TagSet |
| makVrf::DtKynapseLinesModel::DtKynapseLinesModel | ( | makVrv::DtDe & | de, |
| makVrv::DtUniqueID | id, | ||
| double | distanceThreshold = 500000 |
||
| ) |
CTOR.
| de | VR-Vantage display engine. |
| doubleBuffer | Whether to create new osg::Group objects or maniuplate previous ones. |
| distanceThreshold | Distance threshold for looking up regional nodes. |
|
virtual |
DTOR.
|
virtual |
Initialize.
| str | The name of the shared queue |
| useLocalCoord | If set to true, the system shall assume the network data is set to local. Otherwise a netToLocal conversion is done before drawing. |
|
virtual |
Update the lines according to the current state of the shared memory buffer.
Only update buffers which are present in internal buffer map.
Reimplemented in DtBhaveLinesModel.
|
virtual |
Update the lines according to the current state of the shared memory buffer.
Update all buffers, adding them all the internal buffer map
|
virtual |
Information about current buffers.
|
virtual |
Set whether a given buffer is drawn.
|
virtual |
Transform vector in local coordinates according to useLocalCoord init parameter.
|
virtual |
Group node representing the parent of the entire lines model geometry.
|
virtual |
Regional node lookup distance threshold squared.
| DtDebugDrawerSharedMemoryManager& makVrf::DtKynapseLinesModel::memory | ( | ) |
Lazy create shared memory.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |