BALL
1.5.0
Loading...
Searching...
No Matches
include
BALL
VIEW
PRIMITIVES
twoColoredLine.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
// $Id: twoColoredLine.h,v 1.10.16.1 2007-03-25 21:26:12 oliver Exp $
5
//
6
7
#ifndef BALL_VIEW_VIEW_PRIMITIVES_TWOCOLOREDLINE_H
8
#define BALL_VIEW_VIEW_PRIMITIVES_TWOCOLOREDLINE_H
9
10
#ifndef BALL_VIEW_DATATYPE_COLOREXTENSIONS_H
11
# include <
BALL/VIEW/DATATYPE/colorExtensions.h
>
12
#endif
13
14
#ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
15
# include <
BALL/VIEW/KERNEL/geometricObject.h
>
16
#endif
17
18
#ifndef BALL_VIEW_DATATPYE_VERTEX2_H
19
# include <
BALL/VIEW/DATATYPE/vertex2.h
>
20
#endif
21
22
namespace
BALL
23
{
24
namespace
VIEW
25
{
45
class
BALL_VIEW_EXPORT
TwoColoredLine
46
:
public
GeometricObject
,
47
public
ColorExtension2
,
48
public
Vertex2
49
{
50
public
:
51
52
BALL_CREATE
(
TwoColoredLine
)
53
54
56
57
70
TwoColoredLine
();
71
77
TwoColoredLine
(const
TwoColoredLine
& two_colored_line);
78
80
82
86
virtual ~
TwoColoredLine
();
87
96
virtual
void
clear();
97
99
101
110
void
set(const
TwoColoredLine
& two_colored_line);
111
115
const
TwoColoredLine
& operator = (const
TwoColoredLine
& two_colored_line);
116
119
void
swap(
TwoColoredLine
& two_colored_line);
120
122
124
131
Vector3
getMiddleVertex() const;
132
134
136
147
virtual
bool
isValid() const;
148
161
virtual
void
dump(
std
::ostream& s =
std
::cout,
Size
depth = 0) const;
162
163
// Method to get all vertices from a geometric object
164
virtual
void
getVertices(vector<
Vector3
>& vertices) const;
165
167
};
168
169
#ifndef BALL_NO_INLINE_FUNCTIONS
170
# include <BALL/VIEW/PRIMITIVES/twoColoredLine.iC>
171
#endif
172
173
}
// namespace VIEW
174
}
// namespace BALL
175
176
#endif
// BALL_VIEW_VIEW_PRIMITIVES_TWOCOLOREDLINE_H
BALL_CREATE
#define BALL_CREATE(name)
Definition
create.h:62
colorExtensions.h
vertex2.h
geometricObject.h
std
STL namespace.
BALL
Definition
constants.h:13
BALL::TVector3< float >
BALL::VIEW::ColorExtension2
Definition
colorExtensions.h:26
BALL::VIEW::Vertex2
Definition
vertex2.h:33
BALL::VIEW::GeometricObject
Definition
geometricObject.h:37
BALL::VIEW::TwoColoredLine
Definition
twoColoredLine.h:49
BALL_SIZE_TYPE
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition
COMMON/global.h:52
Generated by
1.9.8