BALL
1.4.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
VIEW
PRIMITIVES
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
11
# include <
BALL/VIEW/KERNEL/geometricObject.h
>
12
#endif
13
14
#ifndef BALL_MATHS_SIMPLEBOX3_H
15
# include <
BALL/MATHS/simpleBox3.h
>
16
#endif
17
18
namespace
BALL
19
{
20
namespace
VIEW
21
{
22
23
32
// Export doesn't work for some reason...
33
class
BALL_VIEW_EXPORT
SimpleBox
34
// class SimpleBox
35
:
public
SimpleBox3
,
36
public
GeometricObject
37
{
38
public
:
39
40
BALL_CREATE
(
SimpleBox
)
41
42
45
51
SimpleBox
();
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
Generated by
1.8.3.1