55#include <ACG/Scenegraph/MaterialNode.hh>
56#include <ACG/Scenegraph/ManipulatorNode.hh>
57#include <ACG/Scenegraph/StatusNodesT.hh>
58#include <ACG/QtScenegraph/QtTranslationManipulatorNode.hh>
PolyMesh * mesh()
return a pointer to the mesh
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
Kernel::EdgeHandle EdgeHandle
Scalar type.
Kernel::HalfedgeHandle HalfedgeHandle
Scalar type.
Type for a Meshobject containing a poly mesh.
PolyMeshObject(const PolyMeshObject &_object)
copy constructor
virtual ~PolyMeshObject()
destructor
ACG::Vec3d refinePick(ACG::SceneGraph::PickTarget _pickTarget, const ACG::Vec3d _hitPoint, const ACG::Vec3d _start, const ACG::Vec3d _dir, const unsigned int _targetIdx)
Refine picking on triangle meshes.
Vec::value_type distPointLineSquared(const Vec &_p, const Vec &_v0, const Vec &_v1, Vec *_min_v)
squared distance from point _p to line segment (_v0,_v1)
PickTarget
What target to use for picking.
@ PICK_EDGE
picks edges (may not be implemented for all nodes)
@ PICK_FACE
picks faces (should be implemented for all nodes)
@ PICK_VERTEX
picks verices (may not be implemented for all nodes)