7#ifndef NVIDIA_INDEX_ICONE_H
8#define NVIDIA_INDEX_ICONE_H
10#include <mi/base/interface_declare.h>
30 public mi::base::Interface_declare<0xe2e95b32,0x858a,0x4cb7,0x80,0x91,0xf5,0xf7,0x42,0x5e,0x9a,0x04,
31 nv::index::IObject_space_shape>
38 virtual void set_center(
const mi::math::Vector_struct<mi::Float32, 3>& center) = 0;
44 virtual const mi::math::Vector_struct<mi::Float32, 3>&
get_center()
const = 0;
50 virtual void set_tip(
const mi::math::Vector_struct<mi::Float32, 3>& tip) = 0;
56 virtual const mi::math::Vector_struct<mi::Float32, 3>&
get_tip()
const = 0;
A 3D cone is defined by its base's center and a tip.
Definition: icone.h:32
virtual bool get_capped() const =0
Returns whether the cone is capped.
virtual void set_capped(bool is_capped)=0
Controls whether the cone is capped.
virtual mi::Float32 get_radius() const =0
Returns the cone's base radius.
virtual const mi::math::Vector_struct< mi::Float32, 3 > & get_tip() const =0
Returns the position of the tip in the cone's local coordinate system.
virtual void set_radius(mi::Float32 radius)=0
Sets the cone's base radius.
virtual const mi::math::Vector_struct< mi::Float32, 3 > & get_center() const =0
Returns center of the cone's base in its local coordinate system.
virtual void set_center(const mi::math::Vector_struct< mi::Float32, 3 > ¢er)=0
Sets center of the cone's base in its local coordinate system.
virtual void set_tip(const mi::math::Vector_struct< mi::Float32, 3 > &tip)=0
Sets the position of the tip in the cone's local coordinate system.
Base class declaring the functionality of higher-level shapes.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349