7#ifndef NVIDIA_INDEX_IELLIPSE_SHAPES_H
8#define NVIDIA_INDEX_IELLIPSE_SHAPES_H
10#include <mi/base/interface_declare.h>
34 public mi::base::Interface_declare<0x570a1c6e,0xfab3,0x41f6,0x9d,0x0d,0xfe,0x47,0x68,0x60,0x8f,0xb0,
35 nv::index::IImage_space_shape>
56 const mi::math::Vector_struct<mi::Float32, 3>& center,
59 mi::Float32 rotation = 0.f) = 0;
79 mi::math::Vector_struct<mi::Float32, 3>& center,
80 mi::Float32& radius_x,
81 mi::Float32& radius_y,
82 mi::Float32& rotation)
const = 0;
92 const mi::math::Color_struct& line_color,
93 mi::Float32 line_width = 1.5f) = 0;
103 mi::math::Color_struct& line_color,
104 mi::Float32& line_width)
const = 0;
124 const mi::math::Color_struct& fill_color,
135 mi::math::Color_struct& fill_color,
NVIDIA IndeX provides scene elements that enable annotating 3D scenes or implementing 3D user-interfa...
Definition: iellipse.h:36
virtual void set_geometry(const mi::math::Vector_struct< mi::Float32, 3 > ¢er, mi::Float32 radius_x, mi::Float32 radius_y, mi::Float32 rotation=0.f)=0
An ellipse is defined by its center and two radii plus a rotation in screen space.
virtual void set_outline_style(const mi::math::Color_struct &line_color, mi::Float32 line_width=1.5f)=0
An ellipse's outline can have a style defined by the line color and a line width.
virtual void get_fill_style(mi::math::Color_struct &fill_color, Fill_style &fill_style) const =0
The inner part of a ellipse can be filled using a fill color or may be empty.
virtual void get_geometry(mi::math::Vector_struct< mi::Float32, 3 > ¢er, mi::Float32 &radius_x, mi::Float32 &radius_y, mi::Float32 &rotation) const =0
An ellipse is defined by its center and two radii plus a rotation in screen space.
virtual void get_outline_style(mi::math::Color_struct &line_color, mi::Float32 &line_width) const =0
An ellipse's outline can have a style defined by the line color and a line width.
Fill_style
The inner part of an ellipse is defined to be empty or can be filled.
Definition: iellipse.h:110
@ FILL_SOLID
The ellipse will be filled using a solid color.
Definition: iellipse.h:112
@ FILL_EMPTY
No fill applied to the ellipse.
Definition: iellipse.h:111
virtual void set_fill_style(const mi::math::Color_struct &fill_color, Fill_style fill_style)=0
The inner part of a ellipse can be filled using a fill color or may be empty.
Base class representing attributes that can be defined in a scene description.
Base class representing the fonts in the scene description.
Base class declaring the functionality of higher-level shapes.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349