7#ifndef NVIDIA_INDEX_ILABEL_SHAPES_H
8#define NVIDIA_INDEX_ILABEL_SHAPES_H
10#include <mi/base/interface_declare.h>
28 public mi::base::Interface_declare<0x408633d3,0xbbe1,0x4e01,0xa1,0x27,0xb2,0x2c,0xa3,0x44,0x5c,0x55,
29 nv::index::IAttribute>
68 mi::math::Color_struct& foreground,
69 mi::math::Color_struct& background)
const = 0;
79 const mi::math::Color_struct& foreground,
80 const mi::math::Color_struct& background) = 0;
90 public mi::base::Interface_declare<0x4967ddd0,0xbc19,0x45d4,0x88,0x4d,0x82,0xfa,0x68,0xd0,0x13,0x35,
91 nv::index::IObject_space_shape>
129 const mi::math::Vector_struct<mi::Float32, 3>& position,
130 const mi::math::Vector_struct<mi::Float32, 3>& right_vector,
131 const mi::math::Vector_struct<mi::Float32, 3>& up_vector,
133 mi::Float32 width = -1.f) = 0;
159 mi::math::Vector_struct<mi::Float32, 3>& position,
160 mi::math::Vector_struct<mi::Float32, 3>& right_vector,
161 mi::math::Vector_struct<mi::Float32, 3>& up_vector,
163 mi::Float32& width)
const = 0;
185 public mi::base::Interface_declare<0x641854bd,0xb7a7,0x45b0,0x94,0x44,0x25,0x0d,0x3e,0x10,0x6f,0xae,
186 nv::index::IImage_space_shape>
224 const mi::math::Vector_struct<mi::Float32, 3>& position,
225 const mi::math::Vector_struct<mi::Float32, 2>& right_vector,
226 const mi::math::Vector_struct<mi::Float32, 2>& up_vector,
228 mi::Float32 width = -1.f) = 0;
254 mi::math::Vector_struct<mi::Float32, 3>& position,
255 mi::math::Vector_struct<mi::Float32, 2>& right_vector,
256 mi::math::Vector_struct<mi::Float32, 2>& up_vector,
258 mi::Float32& width)
const = 0;
A font attribute describes the appearance of a label in the scene description.
Definition: ifont.h:29
A label defined in image space.
Definition: ilabel.h:187
virtual const char * get_text() const =0
Get the text of the label.
virtual void get_geometry(mi::math::Vector_struct< mi::Float32, 3 > &position, mi::math::Vector_struct< mi::Float32, 2 > &right_vector, mi::math::Vector_struct< mi::Float32, 2 > &up_vector, mi::Float32 &height, mi::Float32 &width) const =0
The position and orientation in object space is defined by an anchor point that lies inside plane the...
virtual mi::Float32 compute_label_width(const IFont *font, const ILabel_layout *layout) const =0
Compute the width of the label based on the given font.
virtual void set_text(const char *text)=0
The Set text of the label.
virtual void set_geometry(const mi::math::Vector_struct< mi::Float32, 3 > &position, const mi::math::Vector_struct< mi::Float32, 2 > &right_vector, const mi::math::Vector_struct< mi::Float32, 2 > &up_vector, mi::Float32 height, mi::Float32 width=-1.f)=0
The position and orientation in object space is defined by an anchor point that lies inside plane tha...
A label defined in object space.
Definition: ilabel.h:92
virtual void set_geometry(const mi::math::Vector_struct< mi::Float32, 3 > &position, const mi::math::Vector_struct< mi::Float32, 3 > &right_vector, const mi::math::Vector_struct< mi::Float32, 3 > &up_vector, mi::Float32 height, mi::Float32 width=-1.f)=0
The position and orientation in object space is defined by an anchor point that lies inside plane tha...
virtual void set_text(const char *text)=0
The Set text of the label.
virtual void get_geometry(mi::math::Vector_struct< mi::Float32, 3 > &position, mi::math::Vector_struct< mi::Float32, 3 > &right_vector, mi::math::Vector_struct< mi::Float32, 3 > &up_vector, mi::Float32 &height, mi::Float32 &width) const =0
The position and orientation in object space is defined by an anchor point that lies inside plane the...
virtual mi::Float32 compute_label_width(const IFont *font, const ILabel_layout *layout) const =0
Compute the width of the label based on the given font.
virtual const char * get_text() const =0
Get the text of the label.
A label layout defined a label's appearance including, for instance, the padding around the test and ...
Definition: ilabel.h:30
virtual bool get_auto_flip() const =0
Returns the state of the auto flip mode.
virtual void set_padding(mi::Float32 padding)=0
Set the padding around the label text.
virtual void set_auto_flip(bool auto_flip)=0
Set/Clear the auto flip mode.
virtual mi::Float32 get_padding() const =0
Get the padding around the label text.
virtual void get_color(mi::math::Color_struct &foreground, mi::math::Color_struct &background) const =0
A label defines it foreground color, i.e., the color of the text shown on the label,...
virtual void set_color(const mi::math::Color_struct &foreground, const mi::math::Color_struct &background)=0
A label defines it foreground color, i.e., the color of the text shown on the label,...
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