Go to the documentation of this file.
34 #ifndef LVRMESHBUFFERBRIDGE_H_
35 #define LVRMESHBUFFERBRIDGE_H_
41 #include <vtkSmartPointer.h>
43 #include <vtkActorCollection.h>
45 #include <boost/shared_ptr.hpp>
92 void computeMaterialGroups(vector<MaterialGroup*>& matGroups, vector<MaterialGroup*>& colorMatGroups);
94 void remapIndices(vector<MaterialGroup*> g, vector<Vec >& vertices, vector<VecUChar >&
colors, vector<int>& indices);
100 vtkSmartPointer<vtkTexture>
getTexture(
int index);
boost::shared_ptr< LVRMeshBufferBridge > MeshBufferBridgePtr
void setOpacity(float opacityValue)
vtkSmartPointer< vtkActorCollection > m_texturedActors
vtkSmartPointer< vtkActor > getColorMeshActor(vector< MaterialGroup * > groups)
MeshBufferPtr getMeshBuffer()
vtkSmartPointer< vtkActor > m_meshActor
vtkSmartPointer< vtkTexture > getTexture(int index)
LVRMeshBufferBridge(MeshBufferPtr meshbuffer)
vtkSmartPointer< vtkActor > m_wireframeActor
size_t getNumColoredFaces()
void setShading(int shader)
size_t m_numTexturedFaces
virtual ~LVRMeshBufferBridge()
void remapTexturedIndices(MaterialGroup *g, vector< Vec > &vertices, vector< Vec > &texCoords, vector< int > &indices)
void computeMaterialGroups(vector< MaterialGroup * > &matGroups, vector< MaterialGroup * > &colorMatGroups)
void setVisibility(bool visible)
vtkSmartPointer< vtkActorCollection > getTexturedActors()
vtkSmartPointer< vtkActor > getWireframeActor()
void setBaseColor(float r, float g, float b)
vtkSmartPointer< vtkActor > getTexturedActor(MaterialGroup *g)
vtkSmartPointer< vtkActor > getMeshActor()
void computeMeshActor(MeshBufferPtr meshbuffer)
std::shared_ptr< MeshBuffer > MeshBufferPtr
size_t getNumTexturedFaces()
void remapIndices(vector< MaterialGroup * > g, vector< Vec > &vertices, vector< VecUChar > &colors, vector< int > &indices)
MeshBufferPtr m_meshBuffer
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