#include <visualization/Visualization2DContainer.h>
|
| | Visualization2DContainer (QWidget *parent=NULL, bool enableOrbitTool=true) |
| |
| virtual | ~Visualization2DContainer () |
| |
| Visualization2D * | addVisualization (const std::string &visualizationClassName) |
| |
| void | addVisualization (Visualization2D *vis) |
| |
| void | removeVisualization (Visualization2D *vis) |
| |
| virtual QGraphicsScene * | getSceneManager () |
| |
| virtual QGraphicsView * | getViewManager () |
| |
| virtual const Camera & | getCamera () const |
| | Obtains the current camera settings (position, orientation, etc.) of the views own camera. More...
|
| |
| virtual void | setCamera (const Camera &camera) |
| | Sets the current camera settings (position, orientation, etc.) of the views own camera. More...
|
| |
| virtual float | getToolBaseZValue () const |
| | Obtains the Z value all tools should adhere to to ensure that they will always be above regular visualizations. More...
|
| |
| virtual const std::string & | getFixedFrame () const |
| |
| virtual const std::string & | getCameraFrame () const |
| |
| virtual void | setFixedFrame (const std::string &frame) |
| |
| virtual void | setCameraFrame (const std::string &frame) |
| |
| virtual void | setBackgroundColor (const QColor &color) |
| |
| virtual void | fitRectInView (const QRectF &rect) |
| |
| std::string | getPropertyString (Visualization2D *vis, const std::string &property) |
| |
| template<typename T > |
| T | getProperty (Visualization2D *vis, const std::string &property) |
| |
| void | setPropertyString (Visualization2D *vis, const std::string &property, const std::string &value) |
| | Sets the value of the specified property for the specified visualization from string. More...
|
| |
| template<typename T > |
| void | setProperty (Visualization2D *vis, const std::string &property, const T &value) |
| | Sets the value of the specified property for the specified visualization. More...
|
| |
| PropertyEditor * | getPropertyEditor (QWidget *parent=NULL) |
| |
◆ Visualization2DContainer()
◆ ~Visualization2DContainer()
◆ addVisualization() [1/2]
| Visualization2D* addVisualization |
( |
const std::string & |
visualizationClassName | ) |
|
◆ addVisualization() [2/2]
◆ removeVisualization()
◆ getSceneManager()
| virtual QGraphicsScene* getSceneManager |
( |
| ) |
|
|
virtual |
◆ getViewManager()
| virtual QGraphicsView* getViewManager |
( |
| ) |
|
|
virtual |
◆ getCamera()
| virtual const Camera& getCamera |
( |
| ) |
const |
|
virtual |
Obtains the current camera settings (position, orientation, etc.) of the views own camera.
Implements IVisualization2DSite.
◆ setCamera()
| virtual void setCamera |
( |
const Camera & |
camera | ) |
|
|
virtual |
Sets the current camera settings (position, orientation, etc.) of the views own camera.
Implements IVisualization2DSite.
◆ getToolBaseZValue()
| virtual float getToolBaseZValue |
( |
| ) |
const |
|
virtual |
Obtains the Z value all tools should adhere to to ensure that they will always be above regular visualizations.
Implements IVisualization2DSite.
◆ getFixedFrame()
| virtual const std::string& getFixedFrame |
( |
| ) |
const |
|
virtual |
◆ getCameraFrame()
| virtual const std::string& getCameraFrame |
( |
| ) |
const |
|
virtual |
◆ setFixedFrame()
| virtual void setFixedFrame |
( |
const std::string & |
frame | ) |
|
|
virtual |
◆ setCameraFrame()
| virtual void setCameraFrame |
( |
const std::string & |
frame | ) |
|
|
virtual |
◆ setBackgroundColor()
| virtual void setBackgroundColor |
( |
const QColor & |
color | ) |
|
|
virtual |
◆ fitRectInView()
| virtual void fitRectInView |
( |
const QRectF & |
rect | ) |
|
|
virtual |
◆ getPropertyString()
| std::string getPropertyString |
( |
Visualization2D * |
vis, |
|
|
const std::string & |
property |
|
) |
| |
◆ getProperty()
◆ setPropertyString()
| void setPropertyString |
( |
Visualization2D * |
vis, |
|
|
const std::string & |
property, |
|
|
const std::string & |
value |
|
) |
| |
Sets the value of the specified property for the specified visualization from string.
May need to lock the PropertyNode, may throw XIO if it does not succeed to acquire the lock.
◆ setProperty()
| void setProperty |
( |
Visualization2D * |
vis, |
|
|
const std::string & |
property, |
|
|
const T & |
value |
|
) |
| |
|
inline |
Sets the value of the specified property for the specified visualization.
May need to lock the PropertyNode, may throw XIO if it does not succeed to acquire the lock.
◆ getPropertyEditor()
◆ processUpdate()
| virtual void processUpdate |
( |
Duration |
d | ) |
|
|
inlineprotectedvirtual |
◆ mousePressEvent()
| virtual void mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
◆ mouseMoveEvent()
| virtual void mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
◆ mouseReleaseEvent()
| virtual void mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
◆ wheelEvent()
| virtual void wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
protectedvirtual |
◆ timerEvent()
| virtual void timerEvent |
( |
QTimerEvent * |
e | ) |
|
|
protectedvirtual |
◆ updateCamera()
| virtual void updateCamera |
( |
| ) |
|
|
protectedvirtual |
◆ setupVisualizations()
| virtual void setupVisualizations |
( |
bool |
enableOrbitTool = true | ) |
|
|
protectedvirtual |
◆ mCameraSettings
◆ mScene
◆ mBackgroundColor
◆ mActiveTool
◆ mLastUpdateTime
◆ mGeneralProperties
◆ mVisualizations
◆ mEditor
◆ mFixedFrame
◆ mCameraFrame
The documentation for this class was generated from the following file: