17 #ifndef _MODEL_MANIPULATOR_PRIVATE_HH_
18 #define _MODEL_MANIPULATOR_PRIVATE_HH_
Generic description of a mouse event.
Definition: MouseEvent.hh:35
bool globalManip
True to manipulate model in global frame.
Definition: ModelManipulatorPrivate.hh:88
Encapsulates a position and rotation in three space.
Definition: Pose.hh:37
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
Mathematical representation of a box and related functions.
Definition: Box.hh:35
Generic integer x, y vector.
Definition: Vector2i.hh:36
transport::PublisherPtr modelPub
Model publisher that publishes model pose to the server.
Definition: ModelManipulatorPrivate.hh:57
Generic description of a keyboard event.
Definition: KeyEvent.hh:32
transport::NodePtr node
Transportation node.
Definition: ModelManipulatorPrivate.hh:54
Forward declarations for transport.
rendering::UserCameraPtr userCamera
Pointer to the user camera.
Definition: ModelManipulatorPrivate.hh:64
transport::PublisherPtr userCmdPub
Publish user command messages for the server to place in the undo queue.
Definition: ModelManipulatorPrivate.hh:61
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:112
common::KeyEvent keyEvent
Current key event.
Definition: ModelManipulatorPrivate.hh:73
Private data for the ModelManipulator class.
Definition: ModelManipulatorPrivate.hh:35
rendering::ScenePtr scene
Pointer to the scene where models are in.
Definition: ModelManipulatorPrivate.hh:67
math::Vector2i mouseStart
Keep track of the mouse start screen position.
Definition: ModelManipulatorPrivate.hh:48
math::Vector3 mouseVisualScale
Scale of the visual attached to the mouse.
Definition: ModelManipulatorPrivate.hh:79
common::MouseEvent mouseEvent
Current mouse event.
Definition: ModelManipulatorPrivate.hh:70
rendering::SelectionObjPtr selectionObj
Selection object which users can interact with to manipulate the model.
Definition: ModelManipulatorPrivate.hh:39
std::string manipMode
The current manipulation mode.
Definition: ModelManipulatorPrivate.hh:42
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:80
std::vector< math::Vector3 > mouseChildVisualScale
Scale of all the child visuals attached to the mouse.
Definition: ModelManipulatorPrivate.hh:82
std::shared_ptr< SelectionObj > SelectionObjPtr
Definition: RenderTypes.hh:188
boost::shared_ptr< UserCamera > UserCameraPtr
Definition: RenderTypes.hh:92
math::Box mouseVisualBbox
Bounding box of the visual attached to the mouse (for scaling).
Definition: ModelManipulatorPrivate.hh:85
rendering::VisualPtr mouseMoveVis
The current visual attached to the mouse.
Definition: ModelManipulatorPrivate.hh:51
math::Pose mouseMoveVisStartPose
Keep track of the mouse start pose before a move action.
Definition: ModelManipulatorPrivate.hh:45
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
bool initialized
True if the model manipulator is initialized.
Definition: ModelManipulatorPrivate.hh:76