3D Human Airway Tree
Program generuje ludzkie drzewo oskrzelowe
CollisionDetection.h
Idź do dokumentacji tego pliku.
1 /*=========================================================================
2 
3  Program: 3D Human Airway Tree
4  Module: CollisionDetection.h
5 
6  Copyright (c) Kacper Pluta <kacperp@wsinf.edu.pl>
7  All rights reserved.
8  See Copyright.txt or http://leo.wsinf.edu.pl/~kacperp/3dtree for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
23 #ifndef COLLISIONDETECTOR_H
24 #define COLLISIONDETECTOR_H
25 
26 #include <vtkPolyData.h>
27 #include <vtkTransform.h>
29 #include "Branch.h"
30 #include <boost/shared_ptr.hpp>
31 
33 {
34 private:
36  vtkTransform *transform0;
37  vtkTransform *transform1;
40  void RemoveAllInputs();
41 public:
43  virtual ~CollisionDetector();
44  int CollisionDetection(vtkPolyData *region, boost::shared_ptr<Branch> owner);
45 
46 };
47 
48 #endif // COLLISIONDETECTOR