Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
lvr2::LVRMeshItem Class Reference

#include <LVRMeshItem.hpp>

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

Public Member Functions

vtkSmartPointer< vtkActor > getActor ()
 
QColor getColor ()
 
MeshBufferPtr getMeshBuffer ()
 
float getOpacity ()
 
int getShading ()
 
bool getVisibility ()
 
vtkSmartPointer< vtkActor > getWireframeActor ()
 
 LVRMeshItem (MeshBufferBridgePtr &ptr, QTreeWidgetItem *parent=0)
 
void resetColor ()
 
void setColor (QColor &c)
 
void setOpacity (float &opacity)
 
void setSelectionColor (QColor &c)
 
void setShading (int &shader)
 
void setVisibility (bool &visiblity)
 
virtual ~LVRMeshItem ()
 

Protected Member Functions

virtual void addSubItems ()
 

Protected Attributes

MeshBufferBridgePtr m_meshBridge
 
QTreeWidgetItem * m_parent
 

Private Attributes

QColor m_color
 
float m_opacity
 
int m_shader
 
bool m_visible
 

Detailed Description

Definition at line 45 of file LVRMeshItem.hpp.

Constructor & Destructor Documentation

◆ LVRMeshItem()

lvr2::LVRMeshItem::LVRMeshItem ( MeshBufferBridgePtr ptr,
QTreeWidgetItem *  parent = 0 
)

Definition at line 40 of file LVRMeshItem.cpp.

◆ ~LVRMeshItem()

lvr2::LVRMeshItem::~LVRMeshItem ( )
virtual

Definition at line 144 of file LVRMeshItem.cpp.

Member Function Documentation

◆ addSubItems()

void lvr2::LVRMeshItem::addSubItems ( )
protectedvirtual

Reimplemented in lvr2::LVRTextureMeshItem.

Definition at line 52 of file LVRMeshItem.cpp.

◆ getActor()

vtkSmartPointer< vtkActor > lvr2::LVRMeshItem::getActor ( )

Definition at line 139 of file LVRMeshItem.cpp.

◆ getColor()

QColor lvr2::LVRMeshItem::getColor ( )

Definition at line 75 of file LVRMeshItem.cpp.

◆ getMeshBuffer()

MeshBufferPtr lvr2::LVRMeshItem::getMeshBuffer ( )

Definition at line 134 of file LVRMeshItem.cpp.

◆ getOpacity()

float lvr2::LVRMeshItem::getOpacity ( )

Definition at line 96 of file LVRMeshItem.cpp.

◆ getShading()

int lvr2::LVRMeshItem::getShading ( )

Definition at line 118 of file LVRMeshItem.cpp.

◆ getVisibility()

bool lvr2::LVRMeshItem::getVisibility ( )

Definition at line 107 of file LVRMeshItem.cpp.

◆ getWireframeActor()

vtkSmartPointer< vtkActor > lvr2::LVRMeshItem::getWireframeActor ( )

Definition at line 129 of file LVRMeshItem.cpp.

◆ resetColor()

void lvr2::LVRMeshItem::resetColor ( )

Definition at line 91 of file LVRMeshItem.cpp.

◆ setColor()

void lvr2::LVRMeshItem::setColor ( QColor &  c)

Definition at line 80 of file LVRMeshItem.cpp.

◆ setOpacity()

void lvr2::LVRMeshItem::setOpacity ( float &  opacity)

Definition at line 101 of file LVRMeshItem.cpp.

◆ setSelectionColor()

void lvr2::LVRMeshItem::setSelectionColor ( QColor &  c)

Definition at line 86 of file LVRMeshItem.cpp.

◆ setShading()

void lvr2::LVRMeshItem::setShading ( int &  shader)

Definition at line 123 of file LVRMeshItem.cpp.

◆ setVisibility()

void lvr2::LVRMeshItem::setVisibility ( bool &  visiblity)

Definition at line 112 of file LVRMeshItem.cpp.

Member Data Documentation

◆ m_color

QColor lvr2::LVRMeshItem::m_color
private

Definition at line 69 of file LVRMeshItem.hpp.

◆ m_meshBridge

MeshBufferBridgePtr lvr2::LVRMeshItem::m_meshBridge
protected

Definition at line 66 of file LVRMeshItem.hpp.

◆ m_opacity

float lvr2::LVRMeshItem::m_opacity
private

Definition at line 71 of file LVRMeshItem.hpp.

◆ m_parent

QTreeWidgetItem* lvr2::LVRMeshItem::m_parent
protected

Definition at line 76 of file LVRMeshItem.hpp.

◆ m_shader

int lvr2::LVRMeshItem::m_shader
private

Definition at line 73 of file LVRMeshItem.hpp.

◆ m_visible

bool lvr2::LVRMeshItem::m_visible
private

Definition at line 72 of file LVRMeshItem.hpp.


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


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 Mon Feb 28 2022 22:46:12