NVIDIA IndeX API nvidia_logo_transpbg.gif Up
icorner_point_grid_subset.h
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
5
6#ifndef NVIDIA_INDEX_ICORNER_POINT_GRID_SUBSET_H
7#define NVIDIA_INDEX_ICORNER_POINT_GRID_SUBSET_H
8
10
11namespace nv {
12namespace index {
13
22 public mi::base::Interface_declare<0x46b85bee,0xca99,0x4edf,0x85,0x1a,0x8b,0x9d,0xbd,0x4c,0x96,0xd5,
23 IDistributed_data_subset>
24{
25public:
30 virtual const mi::math::Bbox_struct<mi::Float32, 3>& get_bounding_box() const = 0;
31
37 virtual const mi::math::Vector_struct<mi::Uint32, 2> get_patch_size() const = 0;
38
41 virtual mi::Uint32 get_number_of_patch_stacks() const = 0;
42
50 virtual mi::math::Vector_struct<mi::Sint32, 2> get_patch_stack_position(
51 mi::Uint32 stack_index) const = 0;
52
56 virtual bool add_empty_layer(int layer) const = 0;
57
63 virtual mi::Float32* add_patch(
64 mi::Uint32 layer,
65 mi::Uint32 stack_index,
66 const mi::math::Vector_struct<mi::Uint32, 2>& patch_size) const = 0;
67
73 virtual mi::Float32* add_patch_data(
74 mi::Uint32 layer,
75 mi::Uint32 stack_index,
76 mi::Uint32 property_id) const = 0;
77
82 virtual bool add_empty_patch(
83 mi::Uint32 layer,
84 mi::Uint32 stack_index) const = 0;
85};
86
87}} // namespace
88
89#endif // NVIDIA_INDEX_ICORNER_POINT_GRID_SUBSET_H
Defines the vertices and attributes of a subset (sub-grid) of a corner-point grid.
Definition: icorner_point_grid_subset.h:24
virtual mi::Float32 * add_patch_data(mi::Uint32 layer, mi::Uint32 stack_index, mi::Uint32 property_id) const =0
Adding a patch data to a given layer.
virtual const mi::math::Vector_struct< mi::Uint32, 2 > get_patch_size() const =0
Returns the general (non-clipped) size of the patches into which each layer in this subset is further...
virtual bool add_empty_patch(mi::Uint32 layer, mi::Uint32 stack_index) const =0
Adding a empty patch to a given layer.
virtual bool add_empty_layer(int layer) const =0
Adding an empty layer.
virtual mi::Uint32 get_number_of_patch_stacks() const =0
Returns the number of patch stacks available in the subset.
virtual const mi::math::Bbox_struct< mi::Float32, 3 > & get_bounding_box() const =0
Returns the bounding box of the subset.
virtual mi::Float32 * add_patch(mi::Uint32 layer, mi::Uint32 stack_index, const mi::math::Vector_struct< mi::Uint32, 2 > &patch_size) const =0
Adding a patch to a given layer.
virtual mi::math::Vector_struct< mi::Sint32, 2 > get_patch_stack_position(mi::Uint32 stack_index) const =0
Returns the xy-position of the selected patch stack.
Distributed subset interaces for a large-scale distributed datasets.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349