Class GridBase
Defined in File HashGrid.hpp
Inheritance Relationships
Derived Type
public lvr2::HashGrid< BaseVecT, BoxT >(Template Class HashGrid)
Class Documentation
-
class GridBase
Subclassed by lvr2::HashGrid< BaseVecT, BoxT >
Public Functions
-
inline GridBase(bool extrude = true)
-
inline virtual ~GridBase()
-
virtual void addLatticePoint(int i, int j, int k, float distance = 0.0) = 0
- Parameters:
i – Discrete x position within the grid.
j – Discrete y position within the grid.
k – Discrete z position within the grid.
distance – Signed distance to the represented surface at the position within the grid.
-
virtual void saveGrid(std::string file) = 0
Saves a representation of the grid to the given file.
- Parameters:
file – Output file name.
-
inline virtual void setExtrusion(bool extrude)
Protected Attributes
-
bool m_extrude
-
inline GridBase(bool extrude = true)