Represents a plane which is subdivided into quads where each quad primitive is colorable.
More...
List of all members.
Public Member Functions |
void | setCenterArray (osg::ref_ptr< osg::Vec3Array > centers) |
| For each quad primitive, the center point is computed and stored in m_quadCenters.
|
osg::ref_ptr< const
osg::Vec3Array > | getCenterArray () const |
| Gives the reference to the centerpoints of the quads this plane is representing.
|
Private Attributes |
osg::ref_ptr< osg::Vec3Array > | m_quadCenters |
| Stores the center points of each quad.
|
Detailed Description
Represents a plane which is subdivided into quads where each quad primitive is colorable.
Definition at line 33 of file WGESubdividedPlane.h.
Member Function Documentation
osg::ref_ptr< const osg::Vec3Array > WGESubdividedPlane::getCenterArray |
( |
|
) |
const [inline] |
Gives the reference to the centerpoints of the quads this plane is representing.
- Returns:
- Const reference to the center points
Definition at line 65 of file WGESubdividedPlane.h.
References m_quadCenters.
void WGESubdividedPlane::setCenterArray |
( |
osg::ref_ptr< osg::Vec3Array > |
centers |
) |
[inline] |
For each quad primitive, the center point is computed and stored in m_quadCenters.
- Parameters:
-
| centers | the vertex array of the center points of each quad in same order as the quads |
Definition at line 59 of file WGESubdividedPlane.h.
References m_quadCenters.
Member Data Documentation
The documentation for this class was generated from the following file: