Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
jafar::viewer3d::Grid Class Reference

This class allows to add a grid to a view. More...


Detailed Description

This class allows to add a grid to a view.

Example of use:

 v = Viewer3d::Viewer3D.new
 grid = Viewer3d::Grid.new
 v.view.setSceneData( grid.node )

Definition at line 30 of file Grid.hpp.

#include <Grid.hpp>

List of all members.

Public Member Functions

 Grid (double _size1=20.0, double _size2=20.0, int _countU=20, int _countV=20)
osg::Geode * node ()
void setColor (double r, double g, double b, double a=1.0)

Private Attributes

double m_size1
double m_size2
double m_countU
double m_countV
osg::ref_ptr< osg::Geode > m_geode
osg::ref_ptr< osg::Geometry > m_geometry
osg::ref_ptr< osg::StateSet > m_set

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:52 for Jafar by doxygen 1.7.6.1
LAAS-CNRS