BALL
1.4.79
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
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
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::VIEW::GeometricObject
Definition:
geometricObject.h:36
BALL_CREATE
#define BALL_CREATE(name)
Definition:
create.h:62
BALL::TVector3< float >
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
vertex2.h
geometricObject.h
BALL::VIEW::ColorExtension2
Definition:
colorExtensions.h:25
BALL::VIEW::Vertex2
Definition:
vertex2.h:32
BALL_SIZE_TYPE
BALL::VIEW::TwoColoredLine
Definition:
twoColoredLine.h:45
BALL
-*- Mode: C++; tab-width: 2; -*-
Definition:
constants.h:12
colorExtensions.h
Generated by
1.8.8