NVIDIA IndeX API nvidia_logo_transpbg.gif Up
nv::index::ITransformed_scene_group Class Referenceabstract

A transformed scene group is used in the typical manner for structuring the scene but also defines a transformation matrix which will be applied to all of its children. More...

#include <iscene_group.h>

Inherits mi::base::Interface_declare< 0xf6de2020, ... >.

Public Member Functions

virtual void set_transform (const mi::math::Matrix_struct< mi::Float32, 4, 4 > &transform_mat)=0
 Set the transformation matrix. More...
 
virtual mi::math::Matrix_struct< mi::Float32, 4, 4 > get_transform () const =0
 Get the current transformation matrix. More...
 

Detailed Description

A transformed scene group is used in the typical manner for structuring the scene but also defines a transformation matrix which will be applied to all of its children.

Transformations are inherited down through the hierarchy represented by nested scene groups.

Scene elements that represent large scale data, such as volumes or heightfields, may not be added to this type of scene group.

Member Function Documentation

 get_transform()

virtual mi::math::Matrix_struct< mi::Float32, 4, 4 > nv::index::ITransformed_scene_group::get_transform ( ) const
pure virtual

Get the current transformation matrix.

Returns
current 4x4 transformation matrix

 set_transform()

virtual void nv::index::ITransformed_scene_group::set_transform ( const mi::math::Matrix_struct< mi::Float32, 4, 4 > &  transform_mat)
pure virtual

Set the transformation matrix.

Parameters
[in]transform_mat4x4 transformation matrix

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