#include <LVRPointBufferBridge.hpp>
|
size_t | getNumPoints () |
|
PointBufferPtr | getPointBuffer () |
| get the point buffer More...
|
|
vtkSmartPointer< vtkActor > | getPointCloudActor () |
|
vtkSmartPointer< vtkPolyData > | getPolyData () |
|
vtkSmartPointer< vtkPolyData > | getPolyIDData () |
|
void | getSpectralChannels (color< size_t > &channels, color< bool > &use_channel) const |
| get spectral channel mappings More...
|
|
void | getSpectralColorGradient (GradientType &gradient, size_t &channel, bool &normalized, bool &useNDVI) const |
| get the gradienttype, channel, normalizend and ndvi flags More...
|
|
bool | hasColors () |
|
bool | hasNormals () |
|
| LVRPointBufferBridge (PointBufferPtr pointcloud) |
|
| LVRPointBufferBridge (const LVRPointBufferBridge &b) |
|
void | setBaseColor (float r, float g, float b) |
|
void | setColorsVisibility (bool visible) |
|
void | setNormalsVisibility (bool visible) |
|
void | setOpacity (float opacityValue) |
|
void | setPointSize (int pointSize) |
|
void | setSpectralChannels (color< size_t > channels, color< bool > use_channel) |
| set the spectral channel for (r, g, b) and set if it is used More...
|
|
void | setSpectralColorGradient (GradientType gradient, size_t channel, bool normalized=false, bool ndvi=false) |
| set the gradienttype, desired channel, if the outputcolor should be normalized and if the NDVI should be used instead of the channel More...
|
|
void | setVisibility (bool visible) |
|
void | useGradient (bool useGradient) |
| switch between spectral mapping and gradient More...
|
|
virtual | ~LVRPointBufferBridge () |
|
Definition at line 52 of file LVRPointBufferBridge.hpp.
◆ LVRPointBufferBridge() [1/2]
lvr2::LVRPointBufferBridge::LVRPointBufferBridge |
( |
PointBufferPtr |
pointcloud | ) |
|
◆ LVRPointBufferBridge() [2/2]
◆ ~LVRPointBufferBridge()
lvr2::LVRPointBufferBridge::~LVRPointBufferBridge |
( |
| ) |
|
|
virtual |
◆ computePointCloudActor()
void lvr2::LVRPointBufferBridge::computePointCloudActor |
( |
PointBufferPtr |
pc | ) |
|
|
protected |
◆ getNumPoints()
size_t lvr2::LVRPointBufferBridge::getNumPoints |
( |
| ) |
|
◆ getPointBuffer()
◆ getPointCloudActor()
vtkSmartPointer< vtkActor > lvr2::LVRPointBufferBridge::getPointCloudActor |
( |
| ) |
|
◆ getPolyData()
vtkSmartPointer< vtkPolyData > lvr2::LVRPointBufferBridge::getPolyData |
( |
| ) |
|
◆ getPolyIDData()
vtkSmartPointer< vtkPolyData > lvr2::LVRPointBufferBridge::getPolyIDData |
( |
| ) |
|
◆ getSpectralChannels()
void lvr2::LVRPointBufferBridge::getSpectralChannels |
( |
color< size_t > & |
channels, |
|
|
color< bool > & |
use_channel |
|
) |
| const |
◆ getSpectralColorGradient()
void lvr2::LVRPointBufferBridge::getSpectralColorGradient |
( |
GradientType & |
gradient, |
|
|
size_t & |
channel, |
|
|
bool & |
normalized, |
|
|
bool & |
useNDVI |
|
) |
| const |
◆ hasColors()
bool lvr2::LVRPointBufferBridge::hasColors |
( |
| ) |
|
◆ hasNormals()
bool lvr2::LVRPointBufferBridge::hasNormals |
( |
| ) |
|
◆ refreshSpectralChannel()
void lvr2::LVRPointBufferBridge::refreshSpectralChannel |
( |
| ) |
|
|
private |
◆ refreshSpectralGradient()
void lvr2::LVRPointBufferBridge::refreshSpectralGradient |
( |
| ) |
|
|
private |
◆ setBaseColor()
void lvr2::LVRPointBufferBridge::setBaseColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
| |
◆ setColorsVisibility()
void lvr2::LVRPointBufferBridge::setColorsVisibility |
( |
bool |
visible | ) |
|
◆ setNormalsVisibility()
void lvr2::LVRPointBufferBridge::setNormalsVisibility |
( |
bool |
visible | ) |
|
◆ setOpacity()
void lvr2::LVRPointBufferBridge::setOpacity |
( |
float |
opacityValue | ) |
|
◆ setPointSize()
void lvr2::LVRPointBufferBridge::setPointSize |
( |
int |
pointSize | ) |
|
◆ setSpectralChannels()
void lvr2::LVRPointBufferBridge::setSpectralChannels |
( |
color< size_t > |
channels, |
|
|
color< bool > |
use_channel |
|
) |
| |
◆ setSpectralColorGradient()
void lvr2::LVRPointBufferBridge::setSpectralColorGradient |
( |
GradientType |
gradient, |
|
|
size_t |
channel, |
|
|
bool |
normalized = false , |
|
|
bool |
ndvi = false |
|
) |
| |
set the gradienttype, desired channel, if the outputcolor should be normalized and if the NDVI should be used instead of the channel
Definition at line 165 of file LVRPointBufferBridge.cpp.
◆ setVisibility()
void lvr2::LVRPointBufferBridge::setVisibility |
( |
bool |
visible | ) |
|
◆ useGradient()
void lvr2::LVRPointBufferBridge::useGradient |
( |
bool |
useGradient | ) |
|
◆ m_hasColors
bool lvr2::LVRPointBufferBridge::m_hasColors |
|
protected |
◆ m_hasNormals
bool lvr2::LVRPointBufferBridge::m_hasNormals |
|
protected |
◆ m_id_polyData
vtkSmartPointer<vtkPolyData> lvr2::LVRPointBufferBridge::m_id_polyData |
|
protected |
◆ m_numPoints
size_t lvr2::LVRPointBufferBridge::m_numPoints |
|
protected |
◆ m_pointBuffer
◆ m_pointCloudActor
vtkSmartPointer<vtkActor> lvr2::LVRPointBufferBridge::m_pointCloudActor |
|
protected |
◆ m_spectralChannels
color<size_t> lvr2::LVRPointBufferBridge::m_spectralChannels |
|
protected |
◆ m_spectralGradient
◆ m_spectralGradientChannel
size_t lvr2::LVRPointBufferBridge::m_spectralGradientChannel |
|
protected |
◆ m_useGradient
bool lvr2::LVRPointBufferBridge::m_useGradient |
|
protected |
◆ m_useNDVI
bool lvr2::LVRPointBufferBridge::m_useNDVI |
|
protected |
◆ m_useNormalizedGradient
bool lvr2::LVRPointBufferBridge::m_useNormalizedGradient |
|
protected |
◆ m_useSpectralChannel
color<bool> lvr2::LVRPointBufferBridge::m_useSpectralChannel |
|
protected |
◆ m_vtk_normals
vtkSmartPointer<vtkDoubleArray> lvr2::LVRPointBufferBridge::m_vtk_normals |
|
protected |
◆ m_vtk_polyData
vtkSmartPointer<vtkPolyData> lvr2::LVRPointBufferBridge::m_vtk_polyData |
|
protected |
The documentation for this class was generated from the following files: