17 #ifndef _MODEL_SNAP_PRIVATE_HH_
18 #define _MODEL_SNAP_PRIVATE_HH_
rendering::DynamicLines * snapHighlight
A highlight of the hovered triangle.
Definition: ModelSnapPrivate.hh:88
Class for drawing lines that can change.
Definition: DynamicLines.hh:43
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:153
rendering::ScenePtr scene
Pointer to the scene where models are in.
Definition: ModelSnapPrivate.hh:49
Generic description of a mouse event.
Definition: MouseEvent.hh:35
boost::shared_ptr< RayQuery > RayQueryPtr
Definition: RenderTypes.hh:192
rendering::VisualPtr selectedVis
Currently selected visual.
Definition: ModelSnapPrivate.hh:67
rendering::VisualPtr snapVisual
A visual to represent the snap spot.
Definition: ModelSnapPrivate.hh:79
bool selectedTriangleDirty
A variable to indicate the selected triangle has changed.
Definition: ModelSnapPrivate.hh:91
transport::PublisherPtr userCmdPub
Publish user command messages for the server to place in the undo queue.
Definition: ModelSnapPrivate.hh:43
event::ConnectionPtr renderConnection
Connection for the render event.
Definition: ModelSnapPrivate.hh:73
Forward declarations for transport.
bool hoverTriangleDirty
A variable to indicate the hovered triangle has changed.
Definition: ModelSnapPrivate.hh:94
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:112
std::vector< math::Vector3 > selectedTriangle
Vertices of a mesh triangle used as the basis for alignment.
Definition: ModelSnapPrivate.hh:61
bool initialized
True if the model align tool is initialized.
Definition: ModelSnapPrivate.hh:58
rendering::DynamicLines * snapLines
Lines to highlight the selected triangle.
Definition: ModelSnapPrivate.hh:82
transport::NodePtr node
Transportation node.
Definition: ModelSnapPrivate.hh:39
boost::recursive_mutex * updateMutex
Mutex to protect the selected triangle vertices.
Definition: ModelSnapPrivate.hh:76
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
common::MouseEvent mouseEvent
Current mouse event.
Definition: ModelSnapPrivate.hh:55
boost::shared_ptr< Scene > ScenePtr
Definition: RenderTypes.hh:80
std::vector< math::Vector3 > hoverTriangle
Vertices of a mesh triangle being hovered.
Definition: ModelSnapPrivate.hh:64
Definition: ModelSnapPrivate.hh:36
rendering::UserCameraPtr userCamera
Pointer to the user camera.
Definition: ModelSnapPrivate.hh:46
rendering::VisualPtr hoverVis
Currently hovered visual.
Definition: ModelSnapPrivate.hh:70
boost::shared_ptr< UserCamera > UserCameraPtr
Definition: RenderTypes.hh:92
rendering::RayQueryPtr rayQuery
Ray query for selecting a surface of an entity.
Definition: ModelSnapPrivate.hh:52
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
rendering::VisualPtr highlightVisual
A visual to represent the hovered area.
Definition: ModelSnapPrivate.hh:85