Skip to content

Commit

Permalink
[doc] Update doc of setCurveMode
Browse files Browse the repository at this point in the history
  • Loading branch information
jmirabel committed Dec 7, 2017
1 parent a7ed7dd commit be5fed1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Binary file added doc/opengl_primitives.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion idl/gepetto/viewer/graphical-interface.idl
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,10 @@ typedef sequence<Position> PositionSeq;
/// \param input lineName : name of the line.
/// \param input pos : waypoints of the curve.
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 setCurvePointsSubset (in string curveName, in long first, in long count) raises (Error);
Expand Down
3 changes: 1 addition & 2 deletions include/gepetto/viewer/corba/windows-manager.hh
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,7 @@ namespace graphics {

virtual bool setCurvePoints(const std::string& curveName, const Vec3ArrayPtr_t& pos);

/// See http://svn.openscenegraph.org/osg/OpenSceneGraph-Data/trunk/Images/primitives.gif for
/// possible values
/// \image html opengl_primitives.png
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 setCurveLineWidth (const std::string& curveName, const float& width);
Expand Down

0 comments on commit be5fed1

Please sign in to comment.