BALL 1.5.0
Loading...
Searching...
No Matches
gridVisualisation.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4// $Id: gridVisualisation.h,v 1.1.4.1 2007-03-25 21:26:08 oliver Exp $
5//
6
7#ifndef BALL_VIEW_PRIMITIV_GRIDSLICE_H
8#define BALL_VIEW_PRIMITIV_GRIDSLICE_H
9
10#ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
12#endif
13
14#ifndef BALL_DATATYPE_REGULARDATA3D_H
16#endif
17
18namespace BALL
19{
20 namespace VIEW
21 {
26 : public GeometricObject
27 {
28 public:
29
30 enum Type
31 {
34
37
39 DOTS
40 };
41
43
44
46
49
52 virtual ~GridVisualisation(){};
53
55 const GridVisualisation& operator = (const GridVisualisation& plane);
56
58 const Vector3& getNormal() const { return normal_;}
59
61 void setNormal(const Vector3& normal) { normal_ = normal;}
62
64 const Vector3& getPoint() const { return point_;}
65
67 void setPoint(const Vector3& v) { point_ = v;}
68
70 void setGrid(const RegularData3D* grid) { grid_ = grid;}
71
73 const RegularData3D* getGrid() const { return grid_;}
74
76 Position getTexture() const { return texture_;}
77
79 void setTexture(Position texture) { texture_ = texture;}
80
82 void setDotSize(Size dot_size) { dot_size_ = dot_size;}
83
85 Size getDotSize() const { return dot_size_;}
86
88 float max_dim;
90 vector<Vector3> points;
93
94 protected:
95
101 };
102
103 } // namespace VIEW
104} // namespace BALL
105
106#endif // BALL_VIEW_KERNEL_CLIPPING_PLANE_H
#define BALL_CREATE(name)
Definition create.h:62
void setGrid(const RegularData3D *grid)
void setTexture(Position texture)
void setNormal(const Vector3 &normal)
const Vector3 & getNormal() const
void setPoint(const Vector3 &v)
const Vector3 & getPoint() const
const RegularData3D * getGrid() const
#define BALL_VIEW_EXPORT