Go to the documentation of this file.
34 #ifndef LVRPOINTBUFFERBRIDGE_HPP_
35 #define LVRPOINTBUFFERBRIDGE_HPP_
40 #include <vtkPolyData.h>
41 #include <vtkSmartPointer.h>
43 #include <vtkDoubleArray.h>
45 #include <boost/shared_ptr.hpp>
vtkSmartPointer< vtkActor > getPointCloudActor()
vtkSmartPointer< vtkActor > m_pointCloudActor
color< bool > m_useSpectralChannel
void setSpectralChannels(color< size_t > channels, color< bool > use_channel)
set the spectral channel for (r, g, b) and set if it is used
void useGradient(bool useGradient)
switch between spectral mapping and gradient
color< size_t > m_spectralChannels
vtkSmartPointer< vtkPolyData > m_vtk_polyData
void refreshSpectralGradient()
update the view with gradient information
std::shared_ptr< PointBuffer > PointBufferPtr
void getSpectralChannels(color< size_t > &channels, color< bool > &use_channel) const
get spectral channel mappings
size_t m_spectralGradientChannel
virtual ~LVRPointBufferBridge()
void setNormalsVisibility(bool visible)
void refreshSpectralChannel()
update the view with channel mappings
vtkSmartPointer< vtkPolyData > m_id_polyData
vtkSmartPointer< vtkPolyData > getPolyIDData()
void setOpacity(float opacityValue)
void setVisibility(bool visible)
vtkSmartPointer< vtkPolyData > getPolyData()
PointBufferPtr getPointBuffer()
get the point buffer
bool m_useNormalizedGradient
void getSpectralColorGradient(GradientType &gradient, size_t &channel, bool &normalized, bool &useNDVI) const
get the gradienttype, channel, normalizend and ndvi flags
LVRPointBufferBridge(PointBufferPtr pointcloud)
GradientType m_spectralGradient
void setPointSize(int pointSize)
void setColorsVisibility(bool visible)
PointBufferPtr m_pointBuffer
boost::shared_ptr< LVRPointBufferBridge > PointBufferBridgePtr
GradientType
Identifies a color gradient.
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...
void computePointCloudActor(PointBufferPtr pc)
__kf_device__ float3 normalized(const float3 &v)
void setBaseColor(float r, float g, float b)
vtkSmartPointer< vtkDoubleArray > m_vtk_normals
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:24