Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::components::VoxelIndex Struct Reference

Component: Integer index of a voxel in a sparse 3D voxel grid. More...

#include <rerun/components/voxel_index.hpp>

Public Member Functions

 VoxelIndex (int32_t x, int32_t y, int32_t z)
 Construct VoxelIndex from x/y/z values.
 
 VoxelIndex (rerun::datatypes::IVec3D index_)
 
VoxelIndexoperator= (rerun::datatypes::IVec3D index_)
 
 VoxelIndex (std::array< int32_t, 3 > xyz_)
 
VoxelIndexoperator= (std::array< int32_t, 3 > xyz_)
 
 operator rerun::datatypes::IVec3D () const
 Cast to the underlying IVec3D datatype.
 

Public Attributes

rerun::datatypes::IVec3D index
 

Detailed Description

Component: Integer index of a voxel in a sparse 3D voxel grid.

The voxel center in local grid coordinates is (index + 0.5) * voxel_size.


The documentation for this struct was generated from the following file: