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

Defines a generic clipping region that is applied to shapes. More...

#include <iclip_region.h>

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

Public Member Functions

virtual void set_clip_bounding_box (const mi::math::Bbox_struct< mi::Float32, 3 > &bbox)=0
 Sets the bounding box that is used for clipping. More...
 
virtual mi::math::Bbox_struct< mi::Float32, 3 > get_clip_bounding_box () const =0
 Returns the bounding box that is used for clipping. More...
 

Detailed Description

Defines a generic clipping region that is applied to shapes.

Clipping is only supported for some shapes, as described in the documentation of the individual shape scene elements.

Member Function Documentation

 get_clip_bounding_box()

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

Returns the bounding box that is used for clipping.

Returns
clip bounding box.

 set_clip_bounding_box()

virtual void nv::index::IClip_region::set_clip_bounding_box ( const mi::math::Bbox_struct< mi::Float32, 3 > &  bbox)
pure virtual

Sets the bounding box that is used for clipping.

Parameters
[in]bboxBounding box

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