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

Object space shapes are defined in the 3D scene, i.e., their position as well as their extent is affected by the applied transformations present in the scene description. More...

#include <ishape.h>

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

Public Member Functions

virtual mi::math::Bbox_struct< mi::Float32, 3 > get_bounding_box () const =0
 An object space shape must define its bounding box. More...
 

Detailed Description

Object space shapes are defined in the 3D scene, i.e., their position as well as their extent is affected by the applied transformations present in the scene description.

Member Function Documentation

 get_bounding_box()

virtual mi::math::Bbox_struct< mi::Float32, 3 > nv::index::IObject_space_shape::get_bounding_box ( ) const
pure virtual

An object space shape must define its bounding box.

The bounding box is always defined in the shape's local coordinate system. The rendering traversals require the bounding box for accurate and efficient rendering.

Returns
The bounding box of the shape in its local coordinate system.

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