The SoBBoxModelMatrixElement class keeps track of the current model matrix during a scene graph traversal. It is used by amongst others the SoGetBoundingBoxAction class.  
 More...
#include <Inventor/elements/SoBBoxModelMatrixElement.h>
 | 
| 
static SoType  | getClassTypeId (void) | 
|   | 
| 
static int  | getClassStackIndex (void) | 
|   | 
| static void *  | createInstance (void) | 
|   | 
| static void  | initClass (void) | 
|   | 
| static void  | reset (SoState *const state, SoNode *const node) | 
|   | 
| static void  | pushMatrix (SoState *const state, SbMatrix &matrix, SbMatrix &localmatrix) | 
|   | 
| static void  | popMatrix (SoState *const state, const SbMatrix &matrix, const SbMatrix &localmatrix) | 
|   | 
| 
static SoType  | getClassTypeId (void) | 
|   | 
| 
static int  | getClassStackIndex (void) | 
|   | 
| static void *  | createInstance (void) | 
|   | 
| static void  | initClass (void) | 
|   | 
| static void  | makeIdentity (SoState *const state, SoNode *const node) | 
|   | 
| static void  | set (SoState *const state, SoNode *const node, const SbMatrix &matrix) | 
|   | 
| static void  | setCullMatrix (SoState *state, SoNode *node, const SbMatrix &matrix) | 
|   | 
| static void  | mult (SoState *const state, SoNode *const node, const SbMatrix &matrix) | 
|   | 
| static void  | translateBy (SoState *const state, SoNode *const node, const SbVec3f &translation) | 
|   | 
| static void  | rotateBy (SoState *const state, SoNode *const node, const SbRotation &rotation) | 
|   | 
| static void  | scaleBy (SoState *const state, SoNode *const node, const SbVec3f &scaleFactor) | 
|   | 
| static SbMatrix  | pushMatrix (SoState *const state) | 
|   | 
| static void  | popMatrix (SoState *const state, const SbMatrix &matrix) | 
|   | 
| static const SbMatrix &  | getCombinedCullMatrix (SoState *const state) | 
|   | 
| static const SbMatrix &  | get (SoState *const state) | 
|   | 
| static const SbMatrix &  | get (SoState *const state, SbBool &isIdentity) | 
|   | 
| 
static SoType  | getClassTypeId (void) | 
|   | 
| 
static int  | getClassStackIndex (void) | 
|   | 
| 
static void  | initClass (void) | 
|   | 
| 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) | 
|   | 
The SoBBoxModelMatrixElement class keeps track of the current model matrix during a scene graph traversal. It is used by amongst others the SoGetBoundingBoxAction class. 
 
◆ ~SoBBoxModelMatrixElement()
  
  
      
        
          | SoBBoxModelMatrixElement::~SoBBoxModelMatrixElement  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
◆ createInstance()
  
  
      
        
          | void * SoBBoxModelMatrixElement::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. 
 
 
◆ initClass()
  
  
      
        
          | void SoBBoxModelMatrixElement::initClass  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ reset()
  
  
      
        
          | void SoBBoxModelMatrixElement::reset  | 
          ( | 
          SoState *const  | 
          state,  | 
         
        
           | 
           | 
          SoNode *const  | 
          node  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
This method is for the SoGetBoundingBoxAction class so it can reset the current model matrix and all local matrices to identity. 
 
 
◆ pushMatrix()
This method keeps two matrices up-to-date as opposed to the method it replaces. 
 
 
◆ popMatrix()
  
  
      
        
          | void SoBBoxModelMatrixElement::popMatrix  | 
          ( | 
          SoState *const  | 
          state,  | 
         
        
           | 
           | 
          const SbMatrix &  | 
          matrix,  | 
         
        
           | 
           | 
          const SbMatrix &  | 
          localmatrix  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
This method keeps two matrices up-to-date as opposed to the method it replaces. 
 
 
◆ pushMatrixElt()
  
  
      
        
          | SbMatrix SoBBoxModelMatrixElement::pushMatrixElt  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
◆ popMatrixElt()
  
  
      
        
          | void SoBBoxModelMatrixElement::popMatrixElt  | 
          ( | 
          const SbMatrix &  | 
          m | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
The documentation for this class was generated from the following files: