BALL 1.5.0
Loading...
Searching...
No Matches
simpleBox.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4// $Id: simpleBox.h,v 1.8.16.1 2007-03-25 21:26:11 oliver Exp $
5//
6
7#ifndef BALL_VIEW_PRIMITIV_SIMPLEBOX_H
8#define BALL_VIEW_PRIMITIV_SIMPLEBOX_H
9
10#ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
12#endif
13
14#ifndef BALL_MATHS_SIMPLEBOX3_H
16#endif
17
18namespace BALL
19{
20 namespace VIEW
21 {
22
23
32// Export doesn't work for some reason...
34// class SimpleBox
35 : public SimpleBox3,
36 public GeometricObject
37 {
38 public:
39
41
42
45
46
52
55 SimpleBox(const SimpleBox& box);
56
58
60
63 virtual ~SimpleBox();
64
69 virtual void clear();
70
72
75
78 void set(const SimpleBox& box);
79
82 const SimpleBox& operator = (const SimpleBox& box);
83
85
87
98 virtual bool isValid() const;
99
110 virtual void dump(std::ostream& s = std::cout, Size depth = 0) const;
111
112 // Method to get all vertices from a geometric object
113 virtual void getVertices(vector<Vector3>& vertices) const;
114
116 };
117
118 } // namespace VIEW
119} // namespace BALL
120
121#endif // BALL_VIEW_PRIMITIV_SIMPLEBOX_H
#define BALL_CREATE(name)
Definition create.h:62
STL namespace.
#define BALL_VIEW_EXPORT