H3D API
2.4.1
|
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>
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(). | |
![]() | |
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... | |
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.
|
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 ().