MDL SDK API nvidia_logo_transpbg.gif Up
ibbox.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IBBOX_H
8#define MI_NEURAYLIB_IBBOX_H
9
10#include <mi/math/bbox.h>
13
14namespace mi {
15
25class IBbox3 :
26 public base::Interface_declare<0x107953d0,0x70a0,0x48f5,0xb1,0x17,0x68,0x8e,0x7b,0xf8,0x85,0xa1,
27 ICompound>
28{
29public:
31 virtual Bbox3_struct get_value() const = 0;
32
34 virtual void get_value( Bbox3_struct& value) const = 0;
35
37 virtual void set_value( const Bbox3_struct& value) = 0;
38
43 inline void get_value( Bbox3& value) const {
44 Bbox3_struct value_struct;
45 get_value( value_struct);
46 value = value_struct;
47 }
48
53 inline void set_value( const Bbox3& value) {
54 Bbox3_struct value_struct = value;
55 set_value( value_struct);
56 }
57
59
61};
62 // end group mi_neuray_compounds
64
65} // namespace mi
66
67#endif // MI_NEURAYLIB_IBBOX_H
An axis-aligned N-dimensional bounding box class template of fixed dimension with supporting function...
This interface represents bounding boxes.
Definition: ibbox.h:28
void get_value(Bbox3 &value) const
Returns the bounding box represented by this interface.
Definition: ibbox.h:43
void set_value(const Bbox3 &value)
Sets the bounding box represented by this interface.
Definition: ibbox.h:53
virtual Bbox3_struct get_value() const =0
Returns the bounding box represented by this interface.
virtual void set_value(const Bbox3_struct &value)=0
Sets the bounding box represented by this interface.
virtual void get_value(Bbox3_struct &value) const =0
Returns the bounding box represented by this interface.
virtual bool get_value(Size row, Size column, bool &value) const =0
Accesses the (row, column)-th element.
virtual bool set_value(Size row, Size column, bool value)=0
Sets the (row, column)-th element to value.
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
Axis-aligned N-dimensional bounding box class template of fixed dimension.
Definition: bbox.h:74
Compounds type, i.e., vectors, matrices, colors, spectrums, and bounding boxes.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: example_derivatives.dox:5
Storage class for an axis-aligned N-dimensional bounding box class template of fixed dimension.
Definition: bbox.h:47
Typedefs for types from the math API.