Object representing attached OpenGl Matrices / transforms Only stores what is attached, not entire OpenGl state (which would be horribly slow). Applying state is efficient. More...
#include <display.h>
Public Member Functions | |
void | Apply () const |
OpenGlMatrix & | GetModelViewMatrix () |
OpenGlMatrix | GetModelViewMatrix () const |
OpenGlMatrix & | GetProjectionMatrix () |
OpenGlMatrix | GetProjectionMatrix () const |
OpenGlRenderState () | |
OpenGlRenderState (const OpenGlMatrix &projection_matrix) | |
OpenGlRenderState (const OpenGlMatrix &projection_matrix, const OpenGlMatrix &modelview_matrix) | |
OpenGlRenderState & | Set (OpenGlMatrixSpec spec) |
deprecated | |
OpenGlRenderState & | SetModelViewMatrix (OpenGlMatrix spec) |
OpenGlRenderState & | SetProjectionMatrix (OpenGlMatrix spec) |
Static Public Member Functions | |
static void | ApplyIdentity () |
static void | ApplyWindowCoords () |
Public Attributes | |
std::map< OpenGlStack, OpenGlMatrix > | stacks |
Object representing attached OpenGl Matrices / transforms Only stores what is attached, not entire OpenGl state (which would be horribly slow). Applying state is efficient.
Definition at line 516 of file display.cpp.
pangolin::OpenGlRenderState::OpenGlRenderState | ( | const OpenGlMatrix & | projection_matrix | ) |
Definition at line 520 of file display.cpp.
pangolin::OpenGlRenderState::OpenGlRenderState | ( | const OpenGlMatrix & | projection_matrix, |
const OpenGlMatrix & | modelview_matrix | ||
) |
Definition at line 526 of file display.cpp.
void pangolin::OpenGlRenderState::Apply | ( | ) | const |
Definition at line 503 of file display.cpp.
void pangolin::OpenGlRenderState::ApplyIdentity | ( | ) | [static] |
Definition at line 532 of file display.cpp.
void pangolin::OpenGlRenderState::ApplyWindowCoords | ( | ) | [static] |
Definition at line 540 of file display.cpp.
Definition at line 586 of file display.cpp.
Definition at line 591 of file display.cpp.
Definition at line 568 of file display.cpp.
Definition at line 573 of file display.cpp.
deprecated
Definition at line 562 of file display.cpp.
Definition at line 556 of file display.cpp.
Definition at line 550 of file display.cpp.