Skip to content
Snippets Groups Projects
Commit be5fed16 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

[doc] Update doc of setCurveMode

parent a7ed7dd3
No related branches found
No related tags found
No related merge requests found
doc/opengl_primitives.png

5.19 KiB

...@@ -189,8 +189,10 @@ typedef sequence<Position> PositionSeq; ...@@ -189,8 +189,10 @@ typedef sequence<Position> PositionSeq;
/// \param input lineName : name of the line. /// \param input lineName : name of the line.
/// \param input pos : waypoints of the curve. /// \param input pos : waypoints of the curve.
boolean setCurvePoints(in string curveName, in PositionSeq pos) raises (Error); boolean setCurvePoints(in string curveName, in PositionSeq pos) raises (Error);
/// \param mode The list of possible GL modes is provided in
/// WindowsManager::setCurveMode.
/// From the GL modes, remove "GL_" and put it lower case.
boolean setCurveMode (in string curveName, in string mode) raises (Error); boolean setCurveMode (in string curveName, in string mode) raises (Error);
boolean setCurvePointsSubset (in string curveName, in long first, in long count) raises (Error); boolean setCurvePointsSubset (in string curveName, in long first, in long count) raises (Error);
......
...@@ -197,8 +197,7 @@ namespace graphics { ...@@ -197,8 +197,7 @@ namespace graphics {
virtual bool setCurvePoints(const std::string& curveName, const Vec3ArrayPtr_t& pos); virtual bool setCurvePoints(const std::string& curveName, const Vec3ArrayPtr_t& pos);
/// See http://svn.openscenegraph.org/osg/OpenSceneGraph-Data/trunk/Images/primitives.gif for /// \image html opengl_primitives.png
/// possible values
virtual bool setCurveMode (const std::string& curveName, const GLenum mode); virtual bool setCurveMode (const std::string& curveName, const GLenum mode);
virtual bool setCurvePointsSubset (const std::string& curveName, const int first, const std::size_t count); virtual bool setCurvePointsSubset (const std::string& curveName, const int first, const std::size_t count);
virtual bool setCurveLineWidth (const std::string& curveName, const float& width); virtual bool setCurveLineWidth (const std::string& curveName, const float& width);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment