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

The base class of all shapes. More...

#include <ishape.h>

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

Public Member Functions

virtual bool get_pickable () const =0
 Each shape may be pickable, so that the ray cast through the scene can intersect the shape. More...
 
virtual void set_pickable (bool pickable)=0
 Sets the pickable state of the shape. More...
 

Detailed Description

The base class of all shapes.

A shape can either be defined in object space or in image space. All types of shapes can be pickable.

Member Function Documentation

 get_pickable()

virtual bool nv::index::IShape::get_pickable ( ) const
pure virtual

Each shape may be pickable, so that the ray cast through the scene can intersect the shape.

The intersection information will be returned by the pick operation.

Returns
The shape may or may not be pickable.

 set_pickable()

virtual void nv::index::IShape::set_pickable ( bool  pickable)
pure virtual

Sets the pickable state of the shape.

Parameters
[in]pickableShape is pickable

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