7#ifndef NVIDIA_INDEX_IPOLYGON_H
8#define NVIDIA_INDEX_IPOLYGON_H
10#include <mi/base/interface_declare.h>
27 public mi::base::Interface_declare<0x6558d81b,0xe2de,0x4349,0x92,0xcf,0x86,0xd2,0x27,0x1b,0x3b,0xfc,
28 nv::index::IImage_space_shape>
51 const mi::math::Vector_struct<mi::Float32, 2>* vertices,
52 mi::Uint32 nb_vertices,
53 const mi::math::Vector_struct<mi::Float32, 3>& center) = 0;
66 mi::math::Vector_struct<mi::Float32, 2>** vertices,
67 mi::Uint32& nb_vertices,
68 mi::math::Vector_struct<mi::Float32, 3>& center)
const = 0;
85 const mi::math::Color_struct& fill_color,
94 mi::math::Color_struct& fill_color,
A polygon of n vertices defined in image space.
Definition: ipolygon.h:30
Fill_style
Fill style defines the appearance of the polygon.
Definition: ipolygon.h:73
@ FILL_SOLID
Flat color.
Definition: ipolygon.h:75
@ FILL_EMPTY
No fill.
Definition: ipolygon.h:74
virtual bool set_geometry(const mi::math::Vector_struct< mi::Float32, 2 > *vertices, mi::Uint32 nb_vertices, const mi::math::Vector_struct< mi::Float32, 3 > ¢er)=0
set polygon geometry
virtual void get_fill_style(mi::math::Color_struct &fill_color, Fill_style &fill_style) const =0
Get polygon fill style.
virtual void get_geometry(mi::math::Vector_struct< mi::Float32, 2 > **vertices, mi::Uint32 &nb_vertices, mi::math::Vector_struct< mi::Float32, 3 > ¢er) const =0
Get polygon geometry.
virtual void set_fill_style(const mi::math::Color_struct &fill_color, Fill_style fill_style)=0
Set polygon fill style.
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