BALL
1.5.0
Loading...
Searching...
No Matches
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
46
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
simpleBox3.h
geometricObject.h
BALL_CREATE
#define BALL_CREATE(name)
Definition
create.h:62
std
STL namespace.
BALL
Definition
constants.h:13
BALL::TSimpleBox3< float >
BALL::TVector3< float >
BALL::VIEW::GeometricObject
Definition
geometricObject.h:37
BALL::VIEW::SimpleBox
Definition
simpleBox.h:37
BALL_SIZE_TYPE
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition
COMMON/global.h:52
Generated by
1.12.0