BALL 1.5.0
Loading...
Searching...
No Matches
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
12#endif
13
14#ifndef BALL_VIEW_DATATYPE_VERTEX2_H
16#endif
17
18#ifndef BALL_VIEW_DATATYPE_COLOREXTENSIONS_H
20#endif
21
22namespace BALL
23{
24 namespace VIEW
25 {
26
31 : public GeometricObject,
33 {
34 public:
35
37
38
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
#define BALL_CREATE(name)
Definition create.h:62
STL namespace.
#define BALL_VIEW_EXPORT