Inherits mi::base::Interface_declare< 0x7a8db268, ... >.
|
virtual void | set_name (const char *name)=0 |
| Sets the user-defined name of the scene element. More...
|
|
virtual const char * | get_name () const =0 |
| Returns the user-defined name of the scene element. More...
|
|
virtual mi::math::Matrix_struct< mi::Float32, 4, 4 > | get_transform () const =0 |
| Returns the transformation matrix of the scene element. More...
|
|
virtual mi::neuraylib::Tag_struct | get_import_strategy () const =0 |
| Returns the tag of the import strategy that is used for loading the dataset. More...
|
|
|
virtual void | set_IJK_bounding_box (const mi::math::Bbox_struct< mi::Float32, 3 > &bbox)=0 |
| Sets the IJK (local) bounding box of the entire (unclipped) heightfield. More...
|
|
virtual mi::math::Bbox_struct< mi::Float32, 3 > | get_IJK_bounding_box () const =0 |
| Returns the IJK (local) bounding box of the entire (unclipped) heightfield. More...
|
|
virtual void | set_IJK_region_of_interest (const mi::math::Bbox_struct< mi::Float32, 3 > &ijk_roi_bbox)=0 |
| Sets the region of interest of the heightfield in IJK (local) coordinates. More...
|
|
virtual mi::math::Bbox_struct< mi::Float32, 3 > | get_IJK_region_of_interest () const =0 |
| Returns the region of interest of the heightfield in IJK (local) coordinates. More...
|
|
virtual mi::math::Bbox_struct< mi::Float32, 3 > | get_XYZ_clipped_bounding_box () const =0 |
| Returns the XYZ (global) bounding box clipped against the region of interest. More...
|
|
|
virtual void | set_colormap_mapping (bool enable)=0 |
| Sets volume color mapping mode for the heightfield. More...
|
|
virtual bool | get_colormap_mapping () const =0 |
| Returns the volume color mapping mode for the heightfield. More...
|
|
virtual void | assign_colormap (mi::neuraylib::Tag_struct tag)=0 |
| Sets the colormap for the heightfield volume color mapping. More...
|
|
virtual mi::neuraylib::Tag_struct | assigned_colormap () const =0 |
| Returns the colormap for the heightfield volume color mapping. More...
|
|
|
virtual void | add_seed_points (mi::math::Vector_struct< mi::Float32, 3 > *points, mi::Uint32 nb_points)=0 |
| Sets coordinates of point geometry to be rendered together with this heightfield as seed points. More...
|
|
virtual mi::Uint32 | get_nb_seed_points () const =0 |
| Returns the number of seed points currently stored. More...
|
|
virtual void | get_seed_point (mi::Uint32 index, mi::math::Vector_struct< mi::Float32, 3 > &seed_point) const =0 |
| Returns the seed point with the given index. More...
|
|
virtual void | remove_seed_point (mi::Uint32 index)=0 |
| Removes the seed point with the given index. More...
|
|
virtual void | add_isolated_pick (const mi::math::Vector_struct< mi::Float32, 2 > &ij_coordinate, mi::Float32 elevation)=0 |
| Adds a isolated pick to the set of seed points. More...
|
|
virtual void | add_seed_line (mi::math::Vector_struct< mi::Float32, 3 > *vertices, mi::Uint32 nb_vertices)=0 |
| Sets line geometry to be rendered together with this heightfield as seed lines. More...
|
|
virtual mi::Uint32 | get_nb_seed_lines () const =0 |
| Returns the number of seed lines currently stored. More...
|
|
virtual mi::math::Vector_struct< mi::Float32, 3 > * | get_seed_line (mi::Uint32 index, mi::Uint32 &nb_vertices) const =0 |
| Each seed line is an array of vertices. More...
|
|
virtual void | remove_seed_line (mi::Uint32 index)=0 |
| Removes the seed line with the given index. More...
|
|
The abstract interface class representing a heightfield scene element.
A heightfield is a scene element as part of the scene description, i.e., in IScene
. These heightfield scene elements are an abstract representation of the 'physical' heightfield data uploaded to the cluster. They contain general information about the heightfield, but do not store the patch data, which is handled by IRegular_heightfield_patch_data
.
Each heightfield scene element has a region of interest which defines the part of the heightfield which should be used for rendering. It is defined as a bounding box in local 3D space by calling set_IJK_region_of_interest()
. When no region of interest is set, the entire heightfield will be considered. The region of interest is used by get_XYZ_clipped_bounding_box()
to clip the scene element bounding box before transforming it from local space to global space. In contrast, get_XYZ_bounding_box()
returns the unclipped scene element bounding box.
The rendering of a heightfield can be controlled using an IMaterial
attribute in the scene description. Arbitrary textures can be mapped onto the heightfield by applying IDistributed_compute_technique
.