Skip to content

Commit

Permalink
Update documentation for setUseVbos() function
Browse files Browse the repository at this point in the history
  • Loading branch information
taketwo committed Feb 13, 2016
1 parent 098606f commit 8f51a52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions visualization/include/pcl/visualization/interactor_style.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,10 @@ namespace pcl
void
setRendererCollection (vtkSmartPointer<vtkRendererCollection> &rens) { rens_ = rens; }

/** \brief Pass a pointer to the actor map
* \param[in] use_vbos
/** \brief Use Vertex Buffer Objects renderers.
* This is an optimization for the obsolete OpenGL backend. Modern OpenGL2 backend (VTK ≥ 6.3) uses vertex
* buffer objects by default, transparently for the user.
* \param[in] use_vbos set to true to use VBOs
*/
inline void
setUseVbos (const bool use_vbos) { use_vbos_ = use_vbos; }
Expand Down Expand Up @@ -282,7 +284,7 @@ namespace pcl
/** \brief The maximum resizeable window width/height. */
int max_win_height_, max_win_width_;

/** \brief The maximum resizeable window width/height. */
/** \brief Boolean that holds whether or not to use the vtkVertexBufferObjectMapper*/
bool use_vbos_;

/** \brief Set to true if the grid actor is enabled. */
Expand Down
2 changes: 2 additions & 0 deletions visualization/include/pcl/visualization/pcl_visualizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -1859,6 +1859,8 @@ namespace pcl
setSize (int xw, int yw);

/** \brief Use Vertex Buffer Objects renderers.
* This is an optimization for the obsolete OpenGL backend. Modern OpenGL2 backend (VTK ≥ 6.3) uses vertex
* buffer objects by default, transparently for the user.
* \param[in] use_vbos set to true to use VBOs
*/
void
Expand Down

0 comments on commit 8f51a52

Please sign in to comment.