ofDocsdocumentation utils ofMatrixStack

ofMatrixStack


clearStacks( )

void clearStacks()

customMatrixNeedsFlip( )

bool customMatrixNeedsFlip()

doesHWOrientation( )

bool doesHWOrientation()

doesHardwareOrientation( )

bool doesHardwareOrientation()

getCurrentMatrix( )

const glm::mat4 & getCurrentMatrix()

getCurrentMatrixMode( )

ofMatrixMode getCurrentMatrixMode()

getCurrentViewport( )

ofRectangle getCurrentViewport()

getFullSurfaceViewport( )

ofRectangle getFullSurfaceViewport()

getHandedness( )

ofHandednessType getHandedness()

getModelMatrix( )

const glm::mat4 & getModelMatrix()

getModelViewMatrix( )

const glm::mat4 & getModelViewMatrix()

getModelViewProjectionMatrix( )

const glm::mat4 & getModelViewProjectionMatrix()

getNativeViewport( )

ofRectangle getNativeViewport()

getOrientation( )

ofOrientation getOrientation()

getOrientationMatrix( )

const glm::mat4 & getOrientationMatrix()

getOrientationMatrixInverse( )

const glm::mat4 & getOrientationMatrixInverse()

getProjectionMatrix( )

const glm::mat4 & getProjectionMatrix()

getProjectionMatrixNoOrientation( )

const glm::mat4 & getProjectionMatrixNoOrientation()

getRenderSurfaceHeight( )

int getRenderSurfaceHeight()

getRenderSurfaceWidth( )

int getRenderSurfaceWidth()

getTextureMatrix( )

const glm::mat4 & getTextureMatrix()

getViewInverse( )

const glm::mat4 & getViewInverse()

getViewMatrix( )

const glm::mat4 & getViewMatrix()

isVFlipped( )

bool isVFlipped()

loadIdentityMatrix( )

void loadIdentityMatrix()

loadMatrix( ... )

void loadMatrix(const glm::mat4 &m)

loadViewMatrix( ... )

void loadViewMatrix(const glm::mat4 &matrix)

matrixMode( ... )

void matrixMode(ofMatrixMode mode)

multMatrix( ... )

void multMatrix(const glm::mat4 &m)

multViewMatrix( ... )

void multViewMatrix(const glm::mat4 &matrix)

nativeViewport( ... )

void nativeViewport(ofRectangle viewport)

ofMatrixStack( ... )

ofMatrixStack(const ofAppBaseWindow *window)

popMatrix( )

void popMatrix()

popView( )

void popView()

pushMatrix( )

void pushMatrix()

pushView( )

void pushView()

rotateRad( ... )

void rotateRad(float radians, float vecX, float vecY, float vecZ)

scale( ... )

void scale(float xAmnt, float yAmnt, float zAmnt)

setOrientation( ... )

void setOrientation(ofOrientation orientation, bool vFlip)

setRenderSurface( ... )

void setRenderSurface(const ofBaseDraws &fbo)

setRenderSurface( ... )

void setRenderSurface(const ofAppBaseWindow &window)

setRenderSurfaceNoMatrixFlip( ... )

void setRenderSurfaceNoMatrixFlip(const ofBaseDraws &fbo)

translate( ... )

void translate(float x, float y, float z)

updatedRelatedMatrices( )

void updatedRelatedMatrices()

viewport( ... )

void viewport(float x, float y, float width, float height, bool vflip)

Variables

ofMatrix4x4 currentMatrix
ofMatrixMode currentMatrixMode
ofBaseDraws* currentRenderSurface
ofRectangle currentViewport
ofAppBaseWindow currentWindow
bool flipRenderSurfaceMatrix
ofHandednessType handedness
int modelMatrix
ofMatrix4x4 modelViewMatrix
ofMatrix4x4 modelViewMatrixStack
ofMatrix4x4 modelViewProjectionMatrix
ofOrientation orientation
ofMatrix4x4 orientationMatrix
ofMatrix4x4 orientationMatrixInverse
ofOrientation orientationStack
ofMatrix4x4 orientedProjectionMatrix
ofMatrix4x4 projectionMatrix
ofMatrix4x4 projectionMatrixStack
ofMatrix4x4 textureMatrix
ofMatrix4x4 textureMatrixStack
bool vFlipped
int viewInverse
ofMatrix4x4 viewMatrix
ofRectangle viewportHistory