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

A simple sphere. More...

#include <isphere.h>

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

Public Member Functions

virtual mi::math::Vector_struct< mi::Float32, 3 > get_center () const =0
 Returns the position of the center of the sphere. More...
 
virtual void set_center (const mi::math::Vector_struct< mi::Float32, 3 > &center)=0
 Sets the position of the center of the sphere. More...
 
virtual mi::Float32 get_radius () const =0
 Sets the radius of the sphere. More...
 
virtual void set_radius (mi::Float32 radius)=0
 Returns the radius of the sphere. More...
 

Detailed Description

A simple sphere.

Member Function Documentation

 get_center()

virtual mi::math::Vector_struct< mi::Float32, 3 > nv::index::ISphere::get_center ( ) const
pure virtual

Returns the position of the center of the sphere.

Returns
Center of the sphere

 get_radius()

virtual mi::Float32 nv::index::ISphere::get_radius ( ) const
pure virtual

Sets the radius of the sphere.

Returns
Radius of the sphere.

 set_center()

virtual void nv::index::ISphere::set_center ( const mi::math::Vector_struct< mi::Float32, 3 > &  center)
pure virtual

Sets the position of the center of the sphere.

Parameters
[in]centerCenter position of the sphere

 set_radius()

virtual void nv::index::ISphere::set_radius ( mi::Float32  radius)
pure virtual

Returns the radius of the sphere.

Parameters
[in]radiusRadius of the sphere

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