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
multiLine.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
// $Id: multiLine.h,v 1.1.4.1 2007-03-25 21:26:09 oliver Exp $
5
//
6
7
#ifndef BALL_VIEW_PRIMITIVES_MULTILINE_H
8
#define BALL_VIEW_PRIMITIVES_MULTILINE_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
#ifndef BALL_VIEW_DATATYPE_COLOREXTENSIONS_H
19
# include <
BALL/VIEW/DATATYPE/colorExtensions.h
>
20
#endif
21
22
namespace
BALL
23
{
24
namespace
VIEW
25
{
26
30
class
BALL_VIEW_EXPORT
MultiLine
31
:
public
GeometricObject
,
32
public
MultiColorExtension
33
{
34
public
:
35
36
BALL_CREATE
(
MultiLine
)
37
38
39
MultiLine
();
40
42
MultiLine
(
const
MultiLine
& line);
43
46
virtual
~
MultiLine
();
47
50
virtual
void
clear();
51
53
void
set(
const
MultiLine
& line);
54
57
const
MultiLine
& operator = (
const
MultiLine
& line);
58
71
virtual
bool
isValid()
const
;
72
83
virtual
void
dump(std::ostream& s = std::cout,
Size
depth = 0)
const
;
84
85
// Method to get all vertices from a geometric object
86
virtual
void
getVertices(vector<Vector3>& vertices)
const
;
87
88
89
vector<Vector3>
tangents
;
90
vector<Vector3>
vertices
;
92
};
93
94
}
// namespace VIEW
95
}
// namespace BALL
96
97
#endif // BALL_VIEW_PRIMITIVES_MULTILINE_H
BALL::VIEW::GeometricObject
Definition:
geometricObject.h:36
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_SIZE_TYPE
BALL::VIEW::MultiLine::vertices
vector< Vector3 > vertices
Definition:
multiLine.h:90
BALL::VIEW::MultiColorExtension
Definition:
colorExtensions.h:120
colorExtensions.h
BALL::VIEW::MultiLine::tangents
vector< Vector3 > tangents
Definition:
multiLine.h:89
BALL::VIEW::MultiLine
Definition:
multiLine.h:30
Generated by
1.8.7