7#ifndef NVIDIA_INDEX_ICYLINDER_H
8#define NVIDIA_INDEX_ICYLINDER_H
10#include <mi/base/interface_declare.h>
31 public mi::base::Interface_declare<0x82b63cc6,0xcd9b,0x49af,0x90,0x8f,0x3a,0xcf,0x51,0x70,0x64,0x56,
32 nv::index::IObject_space_shape>
40 virtual const mi::math::Vector_struct<mi::Float32, 3>&
get_top()
const = 0;
47 virtual void set_top(
const mi::math::Vector_struct<mi::Float32, 3>& top) = 0;
54 virtual const mi::math::Vector_struct<mi::Float32, 3>&
get_bottom()
const = 0;
61 virtual void set_bottom(
const mi::math::Vector_struct<mi::Float32, 3>& bottom) = 0;
The set of higher-level 3D shapes part of the NVIDIA IndeX library includes a 3D cylinder.
Definition: icylinder.h:33
virtual void set_top(const mi::math::Vector_struct< mi::Float32, 3 > &top)=0
Set the top position of the 3D cylinder.
virtual void set_capped(bool is_capped)=0
Setting the cap rendering.
virtual void set_bottom(const mi::math::Vector_struct< mi::Float32, 3 > &bottom)=0
Set the bottom position of the 3D cylinder.
virtual mi::Float32 get_radius() const =0
Get the radius of the 3D cylinder.
virtual const mi::math::Vector_struct< mi::Float32, 3 > & get_top() const =0
Get the top position of the 3D cylinder.
virtual void set_radius(mi::Float32 radius)=0
Set the radius of the 3D cylinder.
virtual bool get_capped() const =0
A cylinder can be a solid, watertight 3D shape, i.e., its base is closed as if a cap covers the inter...
virtual const mi::math::Vector_struct< mi::Float32, 3 > & get_bottom() const =0
Get the bottom position of the 3D cylinder.
Base class declaring the functionality of higher-level shapes.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349