Public Member Functions | Protected Attributes | List of all members
lvr2::GridBase Class Referenceabstract

#include <HashGrid.hpp>

Inheritance diagram for lvr2::GridBase:
Inheritance graph
[legend]

Public Member Functions

virtual void addLatticePoint (int i, int j, int k, float distance=0.0)=0
 
 GridBase (bool extrude=true)
 
virtual void saveGrid (string file)=0
 Saves a representation of the grid to the given file. More...
 
virtual void setExtrusion (bool extrude)
 
virtual ~GridBase ()
 

Protected Attributes

bool m_extrude
 

Detailed Description

Definition at line 54 of file HashGrid.hpp.

Constructor & Destructor Documentation

◆ GridBase()

lvr2::GridBase::GridBase ( bool  extrude = true)
inline

Definition at line 58 of file HashGrid.hpp.

◆ ~GridBase()

virtual lvr2::GridBase::~GridBase ( )
inlinevirtual

Definition at line 60 of file HashGrid.hpp.

Member Function Documentation

◆ addLatticePoint()

virtual void lvr2::GridBase::addLatticePoint ( int  i,
int  j,
int  k,
float  distance = 0.0 
)
pure virtual
Parameters
iDiscrete x position within the grid.
jDiscrete y position within the grid.
kDiscrete z position within the grid.
distanceSigned distance to the represented surface at the position within the grid.

Implemented in lvr2::HashGrid< BaseVecT, BoxT >.

◆ saveGrid()

virtual void lvr2::GridBase::saveGrid ( string  file)
pure virtual

Saves a representation of the grid to the given file.

Parameters
fileOutput file name.

Implemented in lvr2::HashGrid< BaseVecT, BoxT >.

◆ setExtrusion()

virtual void lvr2::GridBase::setExtrusion ( bool  extrude)
inlinevirtual

Definition at line 87 of file HashGrid.hpp.

Member Data Documentation

◆ m_extrude

bool lvr2::GridBase::m_extrude
protected

Definition at line 90 of file HashGrid.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:27