PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
Planes.h
Go to the documentation of this file.
1 /*=Plus=header=begin======================================================
2 Program: Plus
3 Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved.
4 See License.txt for details.
5 =========================================================Plus=header=end*/
6 
7 #ifndef PLANES_H
8 #define PLANES_H
9 
10 #include "Plane.h"
11 #include <vector>
12 
13 class Planes
14 {
15 public:
16  Planes();
17  ~Planes();
18 
19  void Reset();
20  void InsertPlane(const Plane& newPlane);
21  void RemovePlane(int index);
22  const Plane& GetPlane(int index);
23  int GetNumberOfPlanes();
24 
25  std::vector<Plane>::const_iterator PlanesBegin() const;
26  std::vector<Plane>::const_iterator PlanesEnd() const;
27 
28  Planes& operator=(const Planes& rhs);
29 
30 protected:
31  std::vector<Plane> m_PlaneList;
32 };
33 
34 #endif
std::vector< Plane >::const_iterator PlanesBegin() const
Definition: Planes.cxx:55
const Plane & GetPlane(int index)
Definition: Planes.cxx:43
void RemovePlane(int index)
Definition: Planes.cxx:35
Planes()
Definition: Planes.cxx:12
void Reset()
Definition: Planes.cxx:22
Definition: Plane.h:18
std::vector< Plane > m_PlaneList
Definition: Planes.h:31
~Planes()
Definition: Planes.cxx:17
Definition: Planes.h:13
int GetNumberOfPlanes()
Definition: Planes.cxx:49
void InsertPlane(const Plane &newPlane)
Definition: Planes.cxx:28
std::vector< Plane >::const_iterator PlanesEnd() const
Definition: Planes.cxx:61
Planes & operator=(const Planes &rhs)
Definition: Planes.cxx:67