17 #ifndef _MODEL_MANIPULATOR_PRIVATE_HH_
18 #define _MODEL_MANIPULATOR_PRIVATE_HH_
Generic description of a mouse event.
Definition: MouseEvent.hh:32
boost::shared_ptr< SelectionObj > SelectionObjPtr
Definition: RenderTypes.hh:154
bool globalManip
True to manipulate model in global frame.
Definition: ModelManipulatorPrivate.hh:86
Encapsulates a position and rotation in three space.
Definition: Pose.hh:40
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
Mathematical representation of a box and related functions.
Definition: Box.hh:33
Generic integer x, y vector.
Definition: Vector2i.hh:39
transport::PublisherPtr modelPub
Model publisher that publishes model pose to the server.
Definition: ModelManipulatorPrivate.hh:59
Generic description of a keyboard event.
Definition: KeyEvent.hh:32
transport::NodePtr node
Transportation node.
Definition: ModelManipulatorPrivate.hh:56
Forward declarations for transport.
rendering::UserCameraPtr userCamera
Pointer to the user camera.
Definition: ModelManipulatorPrivate.hh:65
common::KeyEvent keyEvent
Current key event.
Definition: ModelManipulatorPrivate.hh:74
Private data for the ModelManipulator class.
Definition: ModelManipulatorPrivate.hh:34
rendering::ScenePtr scene
Pointer to the scene where models are in.
Definition: ModelManipulatorPrivate.hh:68
math::Vector2i mouseStart
Keep track of the mouse start screen position.
Definition: ModelManipulatorPrivate.hh:47
transport::PublisherPtr lightPub
Light publisher that publishes light pose to the server.
Definition: ModelManipulatorPrivate.hh:62
math::Vector3 mouseVisualScale
Scale of the visual attached to the mouse.
Definition: ModelManipulatorPrivate.hh:80
common::MouseEvent mouseEvent
Current mouse event.
Definition: ModelManipulatorPrivate.hh:71
rendering::SelectionObjPtr selectionObj
Selection object which users can interact with to manipulate the model.
Definition: ModelManipulatorPrivate.hh:38
std::string manipMode
The current manipulation mode.
Definition: ModelManipulatorPrivate.hh:41
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:74
boost::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:102
rendering::VisualPtr selectedVis
The current selected visual.
Definition: ModelManipulatorPrivate.hh:50
boost::shared_ptr< UserCamera > UserCameraPtr
Definition: RenderTypes.hh:86
math::Box mouseVisualBbox
Bounding box of the visual attached to the mouse (for scaling).
Definition: ModelManipulatorPrivate.hh:83
rendering::VisualPtr mouseMoveVis
The current visual attached to the mouse.
Definition: ModelManipulatorPrivate.hh:53
math::Pose mouseMoveVisStartPose
Keep track of the mouse start pose before a move action.
Definition: ModelManipulatorPrivate.hh:44
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
bool initialized
True if the model manipulator is initialized.
Definition: ModelManipulatorPrivate.hh:77