MEPP2 Project
Public Types | Public Member Functions | Private Attributes | List of all members
FEVV::DataVisitor Class Reference

#include <DataVisitor.h>

Inheritance diagram for FEVV::DataVisitor:
Inheritance graph
Collaboration diagram for FEVV::DataVisitor:
Collaboration graph

Public Types

typedef Helpers::Model< osg::Node > Data
 
typedef std::vector< DataOutput
 

Public Member Functions

 DataVisitor (FEVV::BaseViewerOSG *_viewer)
 
virtual ~DataVisitor ()
 
virtual void apply (osg::Node &_node)
 
virtual void apply (osg::Geode &_geode)
 
OutputexportResults ()
 
void reset ()
 

Private Attributes

unsigned int current_level
 
OutputexportVector
 
BaseViewerOSGviewer
 

Detailed Description

Definition at line 25 of file DataVisitor.h.

Member Typedef Documentation

◆ Data

Definition at line 28 of file DataVisitor.h.

◆ Output

typedef std::vector< Data > FEVV::DataVisitor::Output

Definition at line 29 of file DataVisitor.h.

Constructor & Destructor Documentation

◆ DataVisitor()

FEVV::DataVisitor::DataVisitor ( FEVV::BaseViewerOSG _viewer)
inline

Definition at line 32 of file DataVisitor.h.

◆ ~DataVisitor()

virtual FEVV::DataVisitor::~DataVisitor ( )
inlinevirtual

Definition at line 65 of file DataVisitor.h.

Member Function Documentation

◆ apply() [1/2]

virtual void FEVV::DataVisitor::apply ( osg::Geode &  _geode)
inlinevirtual

Definition at line 106 of file DataVisitor.h.

◆ apply() [2/2]

virtual void FEVV::DataVisitor::apply ( osg::Node &  _node)
inlinevirtual

We remove from the list "debug" draws like the gizmo, the unit grid...

Definition at line 71 of file DataVisitor.h.

◆ exportResults()

Output* FEVV::DataVisitor::exportResults ( )
inline

Definition at line 129 of file DataVisitor.h.

◆ reset()

void FEVV::DataVisitor::reset ( void  )
inline

Definition at line 131 of file DataVisitor.h.

Member Data Documentation

◆ current_level

unsigned int FEVV::DataVisitor::current_level
private

Definition at line 134 of file DataVisitor.h.

◆ exportVector

Output* FEVV::DataVisitor::exportVector
private

Definition at line 135 of file DataVisitor.h.

◆ viewer

BaseViewerOSG* FEVV::DataVisitor::viewer
private

Definition at line 136 of file DataVisitor.h.


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