zenilib
0.5.3.0
|
An Abstraction of a Vertex in 3-space, colored. More...
#include <Vertex3f.h>
Inherits Zeni::Renderable, and Zeni::Vertex3f.
Additional Inherited Members | |
Public Attributes inherited from Zeni::Vertex3f | |
Point3f | normal |
Point3f | position |
Protected Member Functions inherited from Zeni::Vertex3f | |
Vertex3f () | |
Vertex3f (const Point3f &position, const Point3f &normal=Point3f()) | |
An Abstraction of a Vertex in 3-space, colored.
Contact: bazal d@ze nipex .com
Definition at line 76 of file Vertex3f.h.
Zeni::Vertex3f_Color::Vertex3f_Color | ( | ) |
Initialize the Vertex3f_Color.
Definition at line 75 of file Vertex3f.cpp.
Referenced by interpolate_to().
Zeni::Vertex3f_Color::Vertex3f_Color | ( | const Point3f & | position, |
const Point3f & | normal, | ||
const Color & | color | ||
) |
Definition at line 79 of file Vertex3f.cpp.
Zeni::Vertex3f_Color::Vertex3f_Color | ( | const Point3f & | position, |
const Point3f & | normal, | ||
const Uint32 & | argb | ||
) |
Definition at line 85 of file Vertex3f.cpp.
Definition at line 91 of file Vertex3f.cpp.
Definition at line 97 of file Vertex3f.cpp.
Get the current Color.
Definition at line 39 of file Vertex3f.hxx.
Vertex3f_Color * Zeni::Vertex3f_Color::interpolate_to | ( | const float & | rhs_part, |
const Vertex3f_Color & | rhs | ||
) | const |
Get a Vertex3f_Color between two vertices; rhs must be a Vertex3f_Color.
Definition at line 69 of file Vertex3f.cpp.
References Zeni::Color::get_argb(), Zeni::Color::interpolate_to(), Zeni::Point3f::interpolate_to(), Zeni::Vertex3f::normal, Zeni::Vertex3f::position, and Vertex3f_Color().
|
virtual |
Tell the rendering system if we're using 3D coordinates.
Implements Zeni::Renderable.
Definition at line 103 of file Vertex3f.cpp.
|
virtual |
Overridden for OpenGL rendering.
Implements Zeni::Renderable.
Definition at line 108 of file Vertex3f.cpp.
References GL_POINTS, glBegin, glEnd, and subrender_to().
|
virtual |
Overridden for OpenGL rendering.
Implements Zeni::Renderable.
Definition at line 176 of file Vertex3f.cpp.
References Zeni::Vertex3f::get_address(), GL_COLOR_ARRAY, GL_FLOAT, GL_POINTS, GL_UNSIGNED_BYTE, GL_VERTEX_ARRAY, glColorPointer, glDisableClientState, glDrawArrays, glEnableClientState, and glVertexPointer.
Overridden for Direct3D9 rendering.
Implements Zeni::Renderable.
Definition at line 202 of file Vertex3f.cpp.
References D3DPT_POINTLIST, and Zeni::Video_DX9::get_d3d_device().
Set the current Color.
Definition at line 43 of file Vertex3f.hxx.
References Zeni::Color::get_argb().
Set the current Color.
Definition at line 47 of file Vertex3f.hxx.
|
virtual |
Definition at line 114 of file Vertex3f.cpp.
References glColor4ub, glNormal3f, glVertex3f, Zeni::Vertex3f::normal, Zeni::Vertex3f::position, Zeni::Point3f::x, Zeni::Point3f::y, and Zeni::Point3f::z.
Referenced by render_to().
|
virtual |
DEPRECATED
Definition at line 190 of file Vertex3f.cpp.
References glColor4ub, glNormal3f, glVertex3f, Zeni::Vertex3f::normal, Zeni::Vertex3f::position, Zeni::Point3f::x, Zeni::Point3f::y, and Zeni::Point3f::z.