SoProjectionMatrixElement Class Reference
[Elements]

Stores the current projection matrix. More...

#include <Inventor/elements/SoProjectionMatrixElement.h>

Inheritance diagram for SoProjectionMatrixElement:
SoReplacedElement SoElement SoTypedObject

List of all members.

Public Member Functions

virtual void print (FILE *fp) const

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, SoNode *node, const SbMatrix &matrix)
static const SbMatrixget (SoState *state)

Detailed Description

Stores the current projection matrix.

This element stores the current projection matrix - the projective part of the matrix set up by the camera. Because most operations on this matrix are atomic, it is considered a non-accumulating element.

SEE ALSO

SoCamera, SoOrthographicCamera, SoPerspectiveCamera, SoDepthOffset


Member Function Documentation

static const SbMatrix& SoProjectionMatrixElement::get ( SoState state  )  [static]

Returns current matrix from the state.

static int SoProjectionMatrixElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoReplacedElement.

static SoType SoProjectionMatrixElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoReplacedElement.

virtual void SoProjectionMatrixElement::print ( FILE *  fp  )  const [virtual]

Prints element (for debugging).

Reimplemented from SoReplacedElement.

static void SoProjectionMatrixElement::set ( SoState state,
SoNode node,
const SbMatrix matrix 
) [static]

Sets the projection matrix to the given matrix.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/