#include <BaseViewer.h>
Definition at line 42 of file BaseViewer.h.
◆ Adapter
◆ Window
◆ BaseViewer()
FEVV::BaseViewer::BaseViewer |
( |
| ) |
|
|
inline |
◆ ~BaseViewer()
virtual FEVV::BaseViewer::~BaseViewer |
( |
| ) |
|
|
inlinevirtual |
◆ attach() [1/2]
void FEVV::BaseViewer::attach |
( |
Adapter * |
_adapter | ) |
|
|
inline |
◆ attach() [2/2]
void FEVV::BaseViewer::attach |
( |
Window * |
_window | ) |
|
|
inline |
attach a Adapter to the current Viewer.
- Note
- Must be called by adapter.init()
Definition at line 131 of file BaseViewer.h.
◆ changeBackgroundColor()
virtual bool FEVV::BaseViewer::changeBackgroundColor |
( |
const Color & |
_color | ) |
|
|
pure virtual |
Change background color of the scene.
- Parameters
-
[in] | _color | the color to use. |
Implemented in FEVV::SimpleViewer.
◆ getAdapter()
Adapter* FEVV::BaseViewer::getAdapter |
( |
| ) |
|
|
inline |
◆ getWindow()
Window* FEVV::BaseViewer::getWindow |
( |
| ) |
|
|
inline |
◆ init()
virtual void FEVV::BaseViewer::init |
( |
| ) |
|
|
pure virtual |
◆ isInit()
virtual bool FEVV::BaseViewer::isInit |
( |
| ) |
const |
|
pure virtual |
◆ isSelected()
virtual bool FEVV::BaseViewer::isSelected |
( |
| ) |
const |
|
inlinevirtual |
◆ isValid()
virtual bool FEVV::BaseViewer::isValid |
( |
| ) |
const |
|
pure virtual |
◆ saveScreenshot()
virtual bool FEVV::BaseViewer::saveScreenshot |
( |
const std::string & |
_name | ) |
|
|
pure virtual |
Export the current view of the scene into a screenshot (PNG).
- Note
- Can not be const due to OSG.
- Parameters
-
[in] | _name | name of the file to export (without extension). |
Implemented in FEVV::SimpleViewer.
◆ setSelected()
virtual void FEVV::BaseViewer::setSelected |
( |
const bool |
_isSelected | ) |
|
|
inlinevirtual |
◆ bIsInit
bool FEVV::BaseViewer::bIsInit = false |
|
protected |
◆ bIsSelected
bool FEVV::BaseViewer::bIsSelected = false |
|
protected |
◆ m_Lighting
bool FEVV::BaseViewer::m_Lighting |
◆ m_recomputeNT_if_redraw
bool FEVV::BaseViewer::m_recomputeNT_if_redraw |
◆ m_recreateOSGobj_if_redraw
bool FEVV::BaseViewer::m_recreateOSGobj_if_redraw |
◆ m_redraw
bool FEVV::BaseViewer::m_redraw |
◆ m_RenderMethod
◆ m_RenderMode
◆ m_RenderSuperimposedEdges
bool FEVV::BaseViewer::m_RenderSuperimposedEdges |
◆ m_RenderSuperimposedVertices
bool FEVV::BaseViewer::m_RenderSuperimposedVertices |
◆ m_RenderSuperimposedVertices_Big
bool FEVV::BaseViewer::m_RenderSuperimposedVertices_Big |
◆ m_Show_CustomVectors_Vertices
bool FEVV::BaseViewer::m_Show_CustomVectors_Vertices |
◆ m_Show_Vertex_Normals
bool FEVV::BaseViewer::m_Show_Vertex_Normals |
◆ m_ShowAxis
bool FEVV::BaseViewer::m_ShowAxis |
◆ m_ShowGrid
bool FEVV::BaseViewer::m_ShowGrid |
◆ m_ShowRotateDragger
bool FEVV::BaseViewer::m_ShowRotateDragger |
◆ m_ShowSelected
bool FEVV::BaseViewer::m_ShowSelected |
◆ m_ShowTranslateDragger
bool FEVV::BaseViewer::m_ShowTranslateDragger |
◆ m_SmoothFlat_Shading
bool FEVV::BaseViewer::m_SmoothFlat_Shading |
◆ m_space_time
bool FEVV::BaseViewer::m_space_time |
◆ m_space_time_changeColorMode
bool FEVV::BaseViewer::m_space_time_changeColorMode |
◆ m_step
float FEVV::BaseViewer::m_step |
◆ m_time
bool FEVV::BaseViewer::m_time |
◆ m_UseFaceColor
bool FEVV::BaseViewer::m_UseFaceColor |
◆ m_UseTexture
bool FEVV::BaseViewer::m_UseTexture |
◆ m_UseVertexColor
bool FEVV::BaseViewer::m_UseVertexColor |
◆ myAdapter
Adapter* FEVV::BaseViewer::myAdapter = nullptr |
|
protected |
◆ myWindow
Window* FEVV::BaseViewer::myWindow = nullptr |
|
protected |
The documentation for this class was generated from the following file:
- /Users/mac/builds/efd823a3/0/MEPP-team/MEPP2/Visualization/BaseViewer.h