LVRBoundingBoxBridge.hpp
Go to the documentation of this file.
1 #ifndef LVR2_TOOLS_VIEWER_VTKBRIDGE_LVRBOUNDINGBOXBRIDGE_HPP
2 #define LVR2_TOOLS_VIEWER_VTKBRIDGE_LVRBOUNDINGBOXBRIDGE_HPP
3 
4 #include <boost/shared_ptr.hpp>
5 
6 #include <vtkSmartPointer.h>
7 #include <vtkActor.h>
10 
11 
12 namespace lvr2
13 {
14 
15 class Pose;
16 
18 {
20 
21  public:
24  vtkSmartPointer<vtkActor> getActor() { return m_actor; }
25  void setPose(const Pose& pose);
26  void setVisibility(bool visible);
27  void setColor(double r, double g, double b);
28 
29  private:
31  vtkSmartPointer<vtkActor> m_actor;
32 
33 };
34 
35 using BoundingBoxBridgePtr = boost::shared_ptr<LVRBoundingBoxBridge>;
36 
37 } // namespace lvr2
38 
39 #endif
void setPose(const Pose &pose)
vtkSmartPointer< vtkActor > getActor()
vtkSmartPointer< vtkActor > m_actor
BoundingBox< Vec > getBoundingBox()
A dynamic bounding box class.
Definition: BoundingBox.hpp:49
LVRBoundingBoxBridge(BoundingBox< Vec > bb)
void setColor(double r, double g, double b)
boost::shared_ptr< LVRBoundingBoxBridge > BoundingBoxBridgePtr


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:08