OpenWalnut
1.5.0dev
|
Represents a plane which is subdivided into quads where each quad primitive is colorable. More...
#include <WGESubdividedPlane.h>
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. More... | |
osg::ref_ptr< const osg::Vec3Array > | getCenterArray () const |
Gives the reference to the centerpoints of the quads this plane is representing. More... | |
Private Attributes | |
osg::ref_ptr< osg::Vec3Array > | m_quadCenters |
Stores the center points of each quad. More... | |
Represents a plane which is subdivided into quads where each quad primitive is colorable.
Definition at line 33 of file WGESubdividedPlane.h.
|
inline |
Gives the reference to the centerpoints of the quads this plane is representing.
Definition at line 65 of file WGESubdividedPlane.h.
References m_quadCenters.
|
inline |
For each quad primitive, the center point is computed and stored in m_quadCenters.
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.
|
private |
Stores the center points of each quad.
This is saved in this geode, so the center points are available before transformation.
Definition at line 56 of file WGESubdividedPlane.h.
Referenced by getCenterArray(), and setCenterArray().