#include <pivot.h>
Public Types | |
typedef Static< Shader * > | StaticShader |
Public Member Functions | |
RenderablePivot () | |
void | render (RenderStateFlags state) const |
void | render (Renderer &renderer, const VolumeTest &volume, const Matrix4 &localToWorld) const |
Static Public Member Functions | |
static Shader * | getShader () |
Data Fields | |
Matrix4 | m_localToWorld |
Private Attributes | |
VertexBuffer< PointVertex > | m_vertices |
Definition at line 177 of file pivot.h.
typedef Static<Shader*> RenderablePivot::StaticShader |
RenderablePivot::RenderablePivot | ( | ) | [inline] |
Definition at line 188 of file pivot.h.
References g_colour_x(), g_colour_y(), g_colour_z(), and m_vertices.
static Shader* RenderablePivot::getShader | ( | ) | [inline, static] |
void RenderablePivot::render | ( | Renderer & | renderer, | |
const VolumeTest & | volume, | |||
const Matrix4 & | localToWorld | |||
) | const [inline] |
Definition at line 213 of file pivot.h.
References Renderer::addRenderable(), Renderer::eFullMaterials, Renderer::ePrimitive, Renderer::eWireframeOnly, VolumeTest::GetModelview(), VolumeTest::GetProjection(), getShader(), VolumeTest::GetViewport(), Renderer::Highlight(), m_localToWorld, Pivot2World_worldSpace(), Renderer::PopState(), Renderer::PushState(), and Renderer::SetState().
void RenderablePivot::render | ( | RenderStateFlags | state | ) | const [inline] |
Definition at line 202 of file pivot.h.
References m_vertices.
Matrix4 RenderablePivot::m_localToWorld [mutable] |
VertexBuffer<PointVertex> RenderablePivot::m_vertices [private] |
Definition at line 179 of file pivot.h.
Referenced by render(), and RenderablePivot().