|
AGX Dynamics
2.35.0.1
|
#include <ExampleApplication.h>
Inheritance diagram for agxOSG::CameraManipulatorFactory:Public Types | |
| enum | Types { TRACKBALL , NUM_TYPES } |
Public Types inherited from agx::Singleton | |
| enum | Priority { HIGHEST_PRIORITY = 2147483647 , LOWEST_PRIORITY = 10000 , DEFAULT_PRIORITY = 1073741824 } |
| Specifies the ranges of the priority which can be assigned to a singleton at the time of creation. More... | |
Public Member Functions | |
| CameraManipulatorFactory () | |
| CameraManipulatorType * | create (osgViewer::GraphicsWindow *window=nullptr) |
| CameraManipulatorType * | create (osgViewer::Viewer *viewer=nullptr) |
| CameraManipulatorType * | create (Types type, osgViewer::GraphicsWindow *window=nullptr) |
| CameraManipulatorType * | create (Types type, osgViewer::Viewer *viewer=nullptr) |
| Types | getType () const |
| CameraManipulatorType * | next (osgViewer::GraphicsWindow *window=nullptr) |
| CameraManipulatorType * | next (osgViewer::Viewer *viewer=nullptr) |
| void | setType (Types type) |
Public Member Functions inherited from agx::Singleton | |
| Singleton (int priority=DEFAULT_PRIORITY) | |
| Default constructor. More... | |
| virtual std::string | getClassName () const =0 |
| int | getPriority () const |
| Return the shutdown priority of the singleton instance. More... | |
Static Public Member Functions | |
| static CameraManipulatorFactory * | instance () |
Protected Member Functions | |
| osgViewer::GraphicsWindow * | getWindow (osgViewer::Viewer *viewer, size_t num=0) const |
| virtual void | shutdown () override |
| Implement this method to cleanup your Singleton class. More... | |
Protected Member Functions inherited from agx::Singleton | |
| virtual | ~Singleton () |
| Destructor. More... | |
| void | _shutdown () |
Protected Attributes | |
| Types | m_currentType |
Static Protected Attributes | |
| static CameraManipulatorFactory * | s_instance |
Definition at line 228 of file ExampleApplication.h.
| Enumerator | |
|---|---|
| TRACKBALL | |
| NUM_TYPES | |
Definition at line 231 of file ExampleApplication.h.
| agxOSG::CameraManipulatorFactory::CameraManipulatorFactory | ( | ) |
| CameraManipulatorType* agxOSG::CameraManipulatorFactory::create | ( | osgViewer::GraphicsWindow * | window = nullptr | ) |
| CameraManipulatorType* agxOSG::CameraManipulatorFactory::create | ( | osgViewer::Viewer * | viewer = nullptr | ) |
| CameraManipulatorType* agxOSG::CameraManipulatorFactory::create | ( | Types | type, |
| osgViewer::GraphicsWindow * | window = nullptr |
||
| ) |
| CameraManipulatorType* agxOSG::CameraManipulatorFactory::create | ( | Types | type, |
| osgViewer::Viewer * | viewer = nullptr |
||
| ) |
|
inline |
Definition at line 251 of file ExampleApplication.h.
|
protected |
|
static |
| CameraManipulatorType* agxOSG::CameraManipulatorFactory::next | ( | osgViewer::GraphicsWindow * | window = nullptr | ) |
| CameraManipulatorType* agxOSG::CameraManipulatorFactory::next | ( | osgViewer::Viewer * | viewer = nullptr | ) |
|
inline |
Definition at line 250 of file ExampleApplication.h.
|
inlineoverrideprotectedvirtual |
Implement this method to cleanup your Singleton class.
Reimplemented from agx::Singleton.
Definition at line 255 of file ExampleApplication.h.
|
protected |
Definition at line 259 of file ExampleApplication.h.
|
staticprotected |
Definition at line 258 of file ExampleApplication.h.