55 #include <ACG/Scenegraph/MaterialNode.hh> 56 #include <ACG/Scenegraph/ManipulatorNode.hh> 57 #include <ACG/Scenegraph/StatusNodesT.hh> 58 #include <ACG/QtScenegraph/QtTranslationManipulatorNode.hh> 88 PolyMesh::EdgeHandle eh =
mesh()->edge_handle(_targetIdx);
91 PolyMesh::HalfedgeHandle heh =
mesh()->halfedge_handle(eh,0);
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)
picks edges (may not be implemented for all nodes)
picks faces (should be implemented for all nodes)
Type for a Meshobject containing a poly mesh.
virtual ~PolyMeshObject()
destructor
PolyMesh * mesh()
return a pointer to the mesh
PickTarget
What target to use for picking.
picks verices (may not be implemented for all nodes)
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.
PolyMeshObject(const PolyMeshObject &_object)
copy constructor
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.