Commit 3946a064 authored by Jan Möbius's avatar Jan Möbius

Hannes, doxygen. closes #1730

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17393 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8d010b00
...@@ -303,28 +303,67 @@ private: ...@@ -303,28 +303,67 @@ private:
/// The handle which is being dragged. /// The handle which is being dragged.
ACG::SceneGraph::GlutPrimitiveNode* moveCircle_SelNode_; ACG::SceneGraph::GlutPrimitiveNode* moveCircle_SelNode_;
/// Finds the nearest point on the mesh given a point on the normal plane /**
bool createCircle_getPointOnMesh(TriMeshObject* _triMeshObject, * \brief Calculates a point on the mesh.
ACG::Vec3d _center, *
ACG::Vec3d _pOnPlane, * Finds the nearest point on the mesh given a point on the normal plane
ACG::Vec3d _n, *
ACG::Vec3d* _pOut); * @param _triMeshObject The mesh to use
* @param _center The center of the ellipse
/// Calculates common info like point on the mesh, point on the normal plane and the distance from the circle center * @param _pOnPlane The projection of the hit point on the plane
bool createCircle_getHitInfo(PolyLineCircleData* _circleData, * @param _n The normal of the ellipse
ACG::Vec3d _hit_Point, * @param _pOut The point on the mesh if one could be found.
ACG::Vec3d* _pOut = 0, * @return True if a point could be found.
double* _r = 0, */
ACG::Vec3d* _onPlane = 0); bool createCircle_getPointOnMesh(TriMeshObject* _triMeshObject,
ACG::Vec3d _center,
/// Helper function which returns the point on the mesh or if none could be found the point on the plane ACG::Vec3d _pOnPlane,
ACG::Vec3d createCircle_getHit(PolyLineCircleData* _circleData, ACG::Vec3d _hit_point); ACG::Vec3d _n,
ACG::Vec3d* _pOut);
/// Generates points for the ellipse, given the PolyLineObject
void updatePolyEllipse(PolyLineObject* _lineObject, unsigned int _pointCount); /*
* \brief Calculates common info.
/// updates the center, forward and side handle of the Poly ellipse *
void updateHandles(PolyLineObject* _lineObject); * Calculates common info like point on the mesh, point on the normal plane and the distance from the circle center
*
* @param _circleData The circle to use.
* @param _hit_Point The point which to "project".
* @param _pOut (optional)Point on the mesh.
* @param _r The distance between circle center and point on the plane.
* @param _onPlane Point on the normal plane regarding the hit_point.
*/
bool createCircle_getHitInfo(PolyLineCircleData* _circleData,
ACG::Vec3d _hit_Point,
ACG::Vec3d* _pOut = 0,
double* _r = 0,
ACG::Vec3d* _onPlane = 0);
/** \brief Returns point on mesh or point on the normal plane.
*
* Helper function which returns the point on the mesh or if none could be found the point on the plane
*
* @param _circleData The circle to use.
* @param _hit_point The point to "project".
*
* @return Point on the mesh if one was found or on the normal plane.
*/
ACG::Vec3d createCircle_getHit(PolyLineCircleData* _circleData, ACG::Vec3d _hit_point);
/*
* \brief Generates points for the ellipse.
*
* @param _lineObject The object to generate points for.
* @param _pointCount The number of points to generate.
*
*/
void updatePolyEllipse(PolyLineObject* _lineObject, unsigned int _pointCount);
/*
* \brief Updates the center, forward and side handle of the Poly ellipse
*
* @param _lineObject The object containing the handles.
*/
void updateHandles(PolyLineObject* _lineObject);
int cur_merge_id_; int cur_merge_id_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment