NVIDIA IndeX API nvidia_logo_transpbg.gif Up
iclip_region.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_ICLIP_REGION_H
8#define NVIDIA_INDEX_ICLIP_REGION_H
9
10#include <mi/math/bbox.h>
11
12#include <nv/index/iattribute.h>
13
14namespace nv {
15namespace index {
16
24 public mi::base::Interface_declare<0x7693cba2,0x8c85,0x4023,0xa2,0x96,0xab,0x56,0xab,0x53,0xc8,0x5c,
25 nv::index::IAttribute>
26{
27public:
31 virtual void set_clip_bounding_box(const mi::math::Bbox_struct<mi::Float32, 3>& bbox) = 0;
32
36 virtual mi::math::Bbox_struct<mi::Float32, 3> get_clip_bounding_box() const = 0;
37};
38
39
40}} // namespace
41
42#endif // NVIDIA_INDEX_ICLIP_REGION_H
Defines a generic clipping region that is applied to shapes.
Definition: iclip_region.h:26
virtual void set_clip_bounding_box(const mi::math::Bbox_struct< mi::Float32, 3 > &bbox)=0
Sets the bounding box that is used for clipping.
virtual mi::math::Bbox_struct< mi::Float32, 3 > get_clip_bounding_box() const =0
Returns the bounding box that is used for clipping.
Base class representing attributes that can be defined in a scene description.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349