NVIDIA IndeX API nvidia_logo_transpbg.gif Up
iicon.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_IICON_SHAPES_H
8#define NVIDIA_INDEX_IICON_SHAPES_H
9
10#include <mi/base/interface_declare.h>
11#include <mi/dice.h>
12
13#include <nv/index/ishape.h>
14
15namespace nv
16{
17namespace index
18{
26class IIcon_3D :
27 public mi::base::Interface_declare<0x1f5f4ed8,0xf0ac,0x4aed,0x8d,0x16,0x80,0x86,0x19,0x9d,0xe9,0x26,
28 nv::index::IObject_space_shape>
29{
30public:
56 virtual void set_geometry(
57 const mi::math::Vector_struct<mi::Float32, 3>& position,
58 const mi::math::Vector_struct<mi::Float32, 3>& right_vector,
59 const mi::math::Vector_struct<mi::Float32, 3>& up_vector,
60 mi::Float32 height,
61 mi::Float32 width = -1.0f) = 0;
62
87 virtual void get_geometry(
88 mi::math::Vector_struct<mi::Float32, 3>& position,
89 mi::math::Vector_struct<mi::Float32, 3>& right_vector,
90 mi::math::Vector_struct<mi::Float32, 3>& up_vector,
91 mi::Float32& height,
92 mi::Float32& width) const = 0;
93};
94
95
103class IIcon_2D :
104 public mi::base::Interface_declare<0xfea64c6d,0xb200,0x4955,0x80,0x35,0xe3,0x1e,0x3a,0xd9,0xc1,0x13,
105 nv::index::IImage_space_shape>
106{
107public:
133 virtual void set_geometry(
134 const mi::math::Vector_struct<mi::Float32, 3>& position,
135 const mi::math::Vector_struct<mi::Float32, 2>& right_vector,
136 const mi::math::Vector_struct<mi::Float32, 2>& up_vector,
137 mi::Float32 height,
138 mi::Float32 width = -1.0f) = 0;
139
162 virtual void get_geometry(
163 mi::math::Vector_struct<mi::Float32, 3>& position,
164 mi::math::Vector_struct<mi::Float32, 2>& right_vector,
165 mi::math::Vector_struct<mi::Float32, 2>& up_vector,
166 mi::Float32& height,
167 mi::Float32& width) const = 0;
168};
169
170}} // namespace index / nv
171
172#endif // NVIDIA_INDEX_IICON_SHAPES_H
Icons are common means for annotating a 3D scene using images.
Definition: iicon.h:106
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 of the icon is defined in its local coordinate system by the anchor point that lies insi...
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.0f)=0
The position of the icon is defined in its local coordinate system by the anchor point that lies insi...
Icons are common means for annotating a 3D scene using images.
Definition: iicon.h:29
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 local coordinate system is defined by an anchor point that lies insid...
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.0f)=0
The position and orientation in its local coordinate system is defined by an anchor point that lies i...
Base class declaring the functionality of higher-level shapes.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349