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
Properties
Friends
Macros
Groups
Pages
include
BALL
VIEW
PRIMITIVES
line.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
// $Id: line.h,v 1.9.16.1 2007-03-25 21:26:09 oliver Exp $
5
//
6
7
#ifndef BALL_VIEW_PRIMITIVES_LINE_H
8
#define BALL_VIEW_PRIMITIVES_LINE_H
9
10
#ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
11
# include <
BALL/VIEW/KERNEL/geometricObject.h
>
12
#endif
13
14
#ifndef BALL_VIEW_DATATYPE_VERTEX2_H
15
# include <
BALL/VIEW/DATATYPE/vertex2.h
>
16
#endif
17
18
namespace
BALL
19
{
20
namespace
VIEW
21
{
22
35
class
BALL_VIEW_EXPORT
Line
36
:
public
GeometricObject
,
37
public
Vertex2
38
{
39
public
:
40
41
BALL_CREATE
(
Line
)
42
43
46
58
Line
();
59
64
Line
(
const
Line
& line);
65
67
69
72
virtual
~
Line
();
73
80
virtual
void
clear();
81
83
85
89
void
set(
const
Line
& line);
90
94
const
Line
& operator = (
const
Line
& line);
95
101
void
swap(
Line
& line);
102
104
106
119
virtual
bool
isValid()
const
;
120
131
virtual
void
dump(std::ostream& s = std::cout,
Size
depth = 0)
const
;
132
133
// Method to get all vertices from a geometric object
134
virtual
void
getVertices(vector<Vector3>& vertices)
const
;
135
137
};
138
139
}
// namespace VIEW
140
}
// namespace BALL
141
142
#endif // BALL_VIEW_PRIMITIVES_LINE_H
BALL::VIEW::GeometricObject
Definition:
geometricObject.h:36
BALL::VIEW::Line
Definition:
line.h:35
BALL_CREATE
#define BALL_CREATE(name)
Definition:
create.h:62
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
vertex2.h
geometricObject.h
BALL::VIEW::Vertex2
Definition:
vertex2.h:32
BALL_SIZE_TYPE
Generated by
1.8.7