MEPP2 Project
|
#include <BaseViewerOSG.h>
Public Types | |
using | DataModel = DataVisitor::Data |
using | DataModelVector = DataVisitor::Output |
using | Model = osg::Geode |
using | Group = osg::Group |
![]() | |
using | Window = BaseWindow |
using | Adapter = BaseAdapterVisu |
Public Member Functions | |
BaseViewerOSG () | |
virtual | ~BaseViewerOSG () |
Group * | getRootNode () |
virtual void | addModel (Model *_geode)=0 |
virtual void | addGroup (Group *_group)=0 |
virtual void | setNodeSelected (osg::Node *_node, bool isSelected)=0 |
virtual bool | isNodeSelected (osg::Node *_node)=0 |
virtual DataModelVector * | getDataModel ()=0 |
virtual bool | isSelected () const |
virtual void | setSelected (const bool _isSelected) |
![]() | |
BaseViewer () | |
virtual | ~BaseViewer () |
virtual void | init ()=0 |
virtual bool | isInit () const =0 |
virtual bool | isValid () const =0 |
virtual bool | isSelected () const |
virtual void | setSelected (const bool _isSelected) |
void | attach (Window *_window) |
void | attach (Adapter *_adapter) |
virtual bool | changeBackgroundColor (const Color &_color)=0 |
virtual bool | saveScreenshot (const std::string &_name)=0 |
Adapter * | getAdapter () |
Window * | getWindow () |
Protected Attributes | |
osg::Group * | root_node = nullptr |
DataVisitor * | visitor = nullptr |
![]() | |
Window * | myWindow = nullptr |
Adapter * | myAdapter = nullptr |
bool | bIsInit = false |
bool | bIsSelected = false |
Additional Inherited Members | |
![]() | |
RenderMethod | m_RenderMethod |
bool | m_RenderSuperimposedVertices |
bool | m_RenderSuperimposedVertices_Big |
bool | m_RenderSuperimposedEdges |
bool | m_UseVertexColor |
bool | m_UseFaceColor |
bool | m_UseTexture |
bool | m_Lighting |
bool | m_SmoothFlat_Shading |
RenderMode | m_RenderMode |
bool | m_ShowAxis |
bool | m_ShowGrid |
bool | m_Show_Vertex_Normals |
bool | m_Show_CustomVectors_Vertices |
bool | m_ShowSelected |
bool | m_ShowTranslateDragger |
bool | m_ShowRotateDragger |
bool | m_redraw |
bool | m_recomputeNT_if_redraw |
bool | m_recreateOSGobj_if_redraw |
float | m_step |
bool | m_space_time |
bool | m_space_time_changeColorMode |
bool | m_time |
Definition at line 45 of file BaseViewerOSG.h.
Definition at line 49 of file BaseViewerOSG.h.
Definition at line 50 of file BaseViewerOSG.h.
using FEVV::BaseViewerOSG::Group = osg::Group |
Definition at line 52 of file BaseViewerOSG.h.
using FEVV::BaseViewerOSG::Model = osg::Geode |
Definition at line 51 of file BaseViewerOSG.h.
|
inline |
Constructor.
Definition at line 62 of file BaseViewerOSG.h.
|
inlinevirtual |
Definition at line 117 of file BaseViewerOSG.h.
|
pure virtual |
Add a group to the scene.
[in] | _group | Pointer to a group of geode. |
Implemented in FEVV::SimpleViewer.
|
pure virtual |
Add a geode to the scene.
[in] | _geode | Pointer to a geode. |
Implemented in FEVV::SimpleViewer.
|
pure virtual |
|
inline |
Get the root node of the scene.
Definition at line 140 of file BaseViewerOSG.h.
|
pure virtual |
Implemented in FEVV::SimpleViewer.
|
inline |
Definition at line 118 of file BaseViewer.h.
|
pure virtual |
|
inline |
|
protected |
Definition at line 166 of file BaseViewerOSG.h.
|
protected |
Definition at line 167 of file BaseViewerOSG.h.