47 #ifndef _MIRA_VISUALIZATION3D_H_ 48 #define _MIRA_VISUALIZATION3D_H_ 69 class InteractionListener3D;
103 template <
typename Reflector>
106 r.property(
"X", position.x(),
"the position of the camera");
107 r.property(
"Y", position.y(),
"the position of the camera");
108 r.property(
"Z", position.z(),
"the position of the camera");
112 "the orientation of the camera");
116 "the orientation of the camera");
120 "the orientation of the camera");
121 r.property(
"Distance", distance,
"the zoom or distance");
155 virtual Ogre::Camera*
acquireCamera(boost::function<
void()> lostCameraCallback = boost::function<
void()>()) = 0;
217 virtual Ogre::SceneNode* getNode() = 0;
The interface of a Visualization3DSite.
Definition: Visualization3D.h:84
Definition: Visualization3D.h:97
virtual void setCamera(const Camera &camera)=0
Sets the current camera settings (position, orientation, etc.) of the views own camera.
Getter< T > rad2degGetter(const T &cref)
Create a getter for serializing radians as degrees.
Definition: Angle.h:969
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
virtual const Camera & getCamera() const =0
Obtains the current camera settings (position, orientation, etc.) of the views own camera...
float distance
Definition: Visualization3D.h:130
Abstract base class for all derived visualizations, namely Visualization3D and Visualization2D.
Definition: Visualization.h:90
Class for 2D, 3D and N-dimensional points.
#define MIRA_ABSTRACT_OBJECT(classIdentifier)
Use this MACRO instead of MIRA_OBJECT to declare the class as abstract.
Definition: FactoryMacros.h:235
Setter< T > deg2radSetter(T &ref)
Create setter for deserializing radians from degrees. See rad2degGetter.
Definition: Angle.h:988
The primary interface between a Visualization and the container of the visualization (e...
Definition: Visualization.h:65
Declaration of Visualization and related classes.
virtual Ogre::Camera * acquireCamera(boost::function< void()> lostCameraCallback=boost::function< void()>())=0
Requests the camera of the visualization site.
virtual void removeInteractionListener(InteractionListener3D *listener)=0
Implementations of angles (values in periodic interval of width 2*pi) with arbitrary base type...
virtual void releaseCamera()=0
Releases a camera that previously was acquired.
virtual std::set< InteractionListener3D * > getInteractionListeners()=0
#define MIRA_GUI_VISUALIZATION_EXPORT
Definition: GuiVisualizationExports.h:61
Listener for mouse events on movable objects in a 3D view.
Definition: InteractionListener3D.h:66
float yaw
Definition: Visualization3D.h:129
virtual void registerInteractionListener(InteractionListener3D *listener)=0
Point3f position
Definition: Visualization3D.h:128
void reflect(Reflector &r)
Definition: Visualization3D.h:104
virtual ~Visualization3D()
Definition: Visualization3D.h:176
Definition: ImageObject.h:60
Abstract base class for all 3D visualization that are used by Visualization3DView.
Definition: Visualization3D.h:169
virtual ~IVisualization3DSite()
Definition: Visualization3D.h:87
virtual Ogre::SceneManager * getSceneManager()=0