|
ContRap-Libraries
|
Class GLPlane represents planes in the three-dimensional space. More...
#include <glplane.h>
Public Member Functions | |
| GLPlane (const GLVertex &position=GLVertex(), double dx=0.0, double dy=1.0, double dz=0.0, double w=10.0) | |
| Constructor from the coordinates of the plane. | |
| ~GLPlane () | |
| Destructor. | |
| void | make_display_list (int flags) const |
| Draws the point into an OpenGL display list. | |
| GLPrimitiveType | get_type () const |
| Type of the primitive. | |
Class GLPlane represents planes in the three-dimensional space.
Planes are given a center point for drawing purposes.
| crp::GLPlane::GLPlane | ( | const GLVertex & | position = GLVertex(), |
| double | dx = 0.0, |
||
| double | dy = 1.0, |
||
| double | dz = 0.0, |
||
| double | w = 10.0 |
||
| ) |
Constructor from the coordinates of the plane.
| position | Position of the primitive |
| dx | X-coordinate of the normal vector |
| dy | Y-coordinate of the normal vector |
| dz | Z-coordinate of the normal vector |
| w | Width of the square symmetric window to evaluate the plane |
| crp::GLPlane::~GLPlane | ( | ) |
Destructor.
| GLPrimitiveType crp::GLPlane::get_type | ( | ) | const [inline, virtual] |
| void crp::GLPlane::make_display_list | ( | int | flags | ) | const [virtual] |
Draws the point into an OpenGL display list.
| flags | Style flags used to filter out drawing |
Implements crp::GLPrimitive.
1.7.3