Visualizer for voxel grids of with voxel type VoxelT.
More...
#include <VisionX/libraries/VoxelGridCore/Visualizer.hpp>
|
| void | clearLayer () |
| | Clear the layer.
|
| |
| void | clearVoxelLayer (bool sleep=false) |
| | Clear the voxel layer.
|
| |
| void | draw (const VoxelGrid< VoxelT > &grid) |
| | Draw the voxel grid.
|
| |
| void | drawBoundingEdges (const VoxelGrid< VoxelT > &grid) |
| | Draw the bounding edges of the voxel grid.
|
| |
| void | drawStructure (const VoxelGrid< VoxelT > &grid, float lineWidth=1, const armarx::DrawColor &colorEdges={0,.5, 1, 1}, const armarx::DrawColor &colorStructure={0, 1, 1, 1}, bool drawOriginVoxel=false) |
| | Draw the bounding edges of the voxel grid.
|
| |
| | operator bool () const |
| |
| void | setDebugDrawer (const armarx::DebugDrawerInterfacePrx &debugDrawer) |
| | Set the debug drawer.
|
| |
| void | setLayer (const std::string &layer) |
| | Set the layer name.
|
| |
| | Visualizer () |
| | Default constructor.
|
| |
| | Visualizer (const armarx::DebugDrawerTopic &drawer, const std::string &voxelLayer="VoxelGrid") |
| | Initialize with debug drawer and voxel grid.
|
| |
| virtual | ~Visualizer () |
| | Virtual destructor.
|
| |
template<typename VoxelT>
class visionx::voxelgrid::Visualizer< VoxelT >
Visualizer for voxel grids of with voxel type VoxelT.
◆ Visualizer() [1/2]
◆ Visualizer() [2/2]
Initialize with debug drawer and voxel grid.
◆ ~Visualizer()
template<typename VoxelT>
◆ clearLayer()
◆ clearVoxelLayer()
template<typename VT>
| void clearVoxelLayer |
( |
bool | sleep = false | ) |
|
◆ draw()
template<typename VoxelT>
| void draw |
( |
const VoxelGrid< VoxelT > & | grid | ) |
|
◆ drawBoundingEdges()
template<typename VoxelT>
| void drawBoundingEdges |
( |
const VoxelGrid< VoxelT > & | grid | ) |
|
Draw the bounding edges of the voxel grid.
◆ drawer() [1/2]
template<typename VoxelT>
◆ drawer() [2/2]
template<typename VoxelT>
◆ drawStructure()
template<typename VoxelT>
| void drawStructure |
( |
const VoxelGrid< VoxelT > & | grid, |
|
|
float | lineWidth = 1, |
|
|
const armarx::DrawColor & | colorEdges = {0, .5, 1, 1}, |
|
|
const armarx::DrawColor & | colorStructure = {0, 1, 1, 1}, |
|
|
bool | drawOriginVoxel = false ) |
Draw the bounding edges of the voxel grid.
◆ drawVoxel()
template<typename VoxelT>
◆ getVoxelLayer()
template<typename VoxelT>
| std::string getVoxelLayer |
( |
| ) |
const |
|
inlineprotected |
◆ isVisible()
template<typename VoxelT>
Indicate whether a voxel shall be drawn.
Voxels for which this method returns false are not passed to drawVoxel().
Reimplemented in Visualizer, and Visualizer.
◆ operator bool()
template<typename VoxelT>
◆ setDebugDrawer()
template<typename VoxelT>
◆ setLayer()
template<typename VoxelT>
| void setLayer |
( |
const std::string & | layer | ) |
|
|
inline |
The documentation for this class was generated from the following file: