H3D API  2.4.1
Public Member Functions | Protected Member Functions | List of all members
H3D::MatrixTransform::SFTransformedBound Class Reference

SFTransformedBound maintains the routes from the owner Node's bound and matrix field to the contained TransformedBoxBound instance's boxBound and matrix field. More...

#include <H3D/MatrixTransform.h>

Inheritance diagram for H3D::MatrixTransform::SFTransformedBound:
Inheritance graph

Public Member Functions

 ~SFTransformedBound ()
 Destructor. More...
 

Protected Member Functions

virtual void onAdd (Bound *b)
 Set up the routes from the owner Node's bound and matrix field to the contained TransformedBoxBound instance's boxBound and matrix field.
 
virtual void onRemove (Bound *b)
 Remove the routes that were set up in onAdd().
 
- Protected Member Functions inherited from H3D::TypedField< SFBound, Types< SFMatrix4f, SFBound > >
void checkFieldType (Field *f, int index)
 Function for checking that a field is of a correct type given type specification according to the TypedField template arguments. More...
 
void checkTemplateArguments ()
 Function for checking that a field given TypedField type specification is valid. More...
 

Detailed Description

SFTransformedBound maintains the routes from the owner Node's bound and matrix field to the contained TransformedBoxBound instance's boxBound and matrix field.

The contained Bound object is updated from the given SFMatrix4f and SFBound fields. If the SFBound contains a InfiniteBound this field also will contain a InfiniteBound. Otherwise it will contain a TransformedBoxBound .

routes_in[0] is the matrix field of the MatrixTransform. routes_in[1] is the bound field of the MatrixTransform.

Constructor & Destructor Documentation

◆ ~SFTransformedBound()

H3D::MatrixTransform::SFTransformedBound::~SFTransformedBound ( )
inline

Destructor.

Sets the value to NULL in order to get the correct onRemove () function to be called upon destruction. Must be done in all fields that override onRemove ().


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