SoProjectionMatrixElement(3)
β¨ SoProjectionMatrixElement β¨
okay bestie, sit down, we're doing SoProjectionMatrixElement from Coin π (that's the manual page SoProjectionMatrixElement(3), yes, we're fancy like that)
πΈ NAME πΈ
SoProjectionMatrixElement β the class that is yet to be documented π (yes, literally, that's the whole description, no cap)
π SYNOPSIS π
#include <Inventor/elements/SoProjectionMatrixElement.h>
Inherits SoReplacedElement.
Inherited by SoGLProjectionMatrixElement.
π Public Member Functions π
virtual void init (SoState *state)
π«Ά Public Member Functions inherited from SoReplacedElement
virtual SbBool matches (const SoElement *element) constvirtual SoElement * copyMatchInfo () constSbUniqueId getNodeId () constvirtual void print (FILE *file) const
π«Ά Public Member Functions inherited from SoElement
const SoType getTypeId (void) constint getStackIndex (void) constvirtual void push (SoState *state)virtual void pop (SoState *state, const SoElement *prevTopElement)void setDepth (const int depth)int getDepth (void) constvirtual ~SoElement ()
β Static Public Member Functions β
static SoType getClassTypeId (void)static int getClassStackIndex (void)static void * createInstance (void)static void initClass (void)static void set (SoState *const state, SoNode *const node, const SbMatrix &matrix)static const SbMatrix & get (SoState *const state)
π«Ά Static Public Member Functions inherited from SoReplacedElement
static SoType getClassTypeId (void)static int getClassStackIndex (void)static void initClass (void)
π«Ά Static Public Member Functions inherited from SoElement
static void initClass (void)static SoType getClassTypeId (void)static int getClassStackIndex (void)static void initElements (void)static int getNumStackIndices (void)static SoType getIdFromStackIndex (const int stackIndex)
π Protected Member Functions π
virtual ~SoProjectionMatrixElement ()virtual void setElt (SbMatrix const &matrix)
π«Ά Protected Member Functions inherited from SoReplacedElement
virtual ~SoReplacedElement ()
π«Ά Protected Member Functions inherited from SoElement
SoElement (void)void capture (SoState *const state) constvirtual void captureThis (SoState *state) constvoid setTypeId (const SoType typeId)void setStackIndex (const int index)SoElement * getNextInStack (void) constSoElement * getNextFree (void) const
π§ Protected Attributes π§
SbMatrix projectionMatrix
π«Ά Protected Attributes inherited from SoReplacedElement
SbUniqueId nodeId
π«Ά Protected Attributes inherited from SoElement
SoType typeIdint stackIndexint depth
π Additional Inherited Members π
π«Ά Static Protected Member Functions inherited from SoReplacedElement
static SoElement * getElement (SoState *const state, const int stackIndex, SoNode *const node)
π«Ά Static Protected Member Functions inherited from SoElement
static SoElement * getElement (SoState *const state, const int stackIndex)static const SoElement * getConstElement (SoState *const state, const int stackIndex)static int createStackIndex (const SoType id)
π«Ά Static Protected Attributes inherited from SoElement
static int classStackIndexstatic SoTypeList * stackToType
π Detailed Description π
The SoProjectionMatrixElement class is yet to be documented.
FIXME: write doc. π bestie the docs are literally unfinished, we're all just vibing on faith here
π Constructor & Destructor Documentation π
SoProjectionMatrixElement::~SoProjectionMatrixElement (void ) [protected], [virtual]
Destructor. π it's giving goodbye, it's giving cleanup, it's giving protected so only the family can call it
πΈ Member Function Documentation πΈ
SoType SoProjectionMatrixElement::getClassTypeId (void ) [static]
This static method returns the SoType object associated with objects of this class. π it's the β¨identityβ¨ girlie of the whole class
int SoProjectionMatrixElement::getClassStackIndex (void ) [static]
This static method returns the state stack index for the class. π your seat number in the state stack, lowkey iconic
void * SoProjectionMatrixElement::createInstance (void ) [static]
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Creates a new instance of the class type corresponding to the SoType object. π¦ (so like, if you're an app dev, this one's not for you bestie, no offense, it's just β¨internal businessβ¨)
void SoProjectionMatrixElement::initClass (void ) [static]
Initialize relevant common data for all instances, like the type system. π setting the whole squad up before the party starts, fr fr
void SoProjectionMatrixElement::init (SoState * state) [virtual]
Initializes the element to its default value. The default value for projectionMatrix is the identity matrix. π
(identity matrix = the "I'm not like other matrices" matrix, it's giving main character energy, it changes nothing and that's the point)
Reimplemented from SoReplacedElement.
void SoProjectionMatrixElement::set (SoState *const state, SoNode *const node, const SbMatrix & projectionMatrix) [static]
Sets the current projection matrix to matrix. π boom, new matrix, who dis
const SbMatrix & SoProjectionMatrixElement::get (SoState *const state) [static]
Returns the current projection matrix. π₯ hand it over bestie, we need to see it
void SoProjectionMatrixElement::setElt (SbMatrix const & matrix) [protected], [virtual]
virtual method which is called from the static method set(). Sets element projection matrix to matrix. π so set() calls setElt(), it's giving delegation, it's giving teamwork, we love to see it
Reimplemented in SoGLProjectionMatrixElement.
π Member Data Documentation π
SbMatrix SoProjectionMatrixElement::projectionMatrix [protected]
FIXME: write doc. π yeah babe, this one's also undocumented, we're running on vibes and inheritance
π Author π
Generated automatically by Doxygen for Coin from the source code. π€ (not a human author, just a very enthusiastic robot, no cap)
Version 4.0.10 Β· Thu Jun 25 2026 00:00:0 β that's the tea bestie, that's the version, that's the date, we're done here π β¨π«Ά mwah, go forth and project your matrices, slay ππ
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms