BALL
1.4.2
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
MODELS
fieldLineCreator.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
// $Id: fieldLineCreator.h,v 1.1.4.2 2007/04/11 11:55:51 amoll Exp $
5
//
6
7
#ifndef BALL_VIEW_MODELS_FIELDLINE_CREATOR_H
8
#define BALL_VIEW_MODELS_FIELDLINE_CREATOR_H
9
10
#ifndef BALL_MATHS_VECTOR3_H
11
# include <
BALL/MATHS/vector3.h
>
12
#endif
13
14
#ifndef BALL_VIEW_KERNEL_REPRESENTATION_H
15
# include <
BALL/VIEW/KERNEL/representation.h
>
16
#endif
17
18
namespace
BALL
19
{
20
class
AtomContainer;
21
22
namespace
VIEW
23
{
24
28
class
BALL_VIEW_EXPORT
FieldLineCreator
29
{
30
public
:
31
32
typedef
TRegularData3D<Vector3>
VectorGrid
;
33
34
BALL_CREATE
(
FieldLineCreator
)
35
36
38
FieldLineCreator
();
39
42
FieldLineCreator(const FieldLineCreator& fc);
43
46
virtual ~FieldLineCreator();
47
48
Representation
* createLines();
49
50
void
createFieldLine_(const
Vector3
& point,
Representation
& rep);
51
52
inline
void
calculateLinePoints_(
Vector3
point, vector<
Vector3
>& points,
float
factor = 1.);
53
56
void
setUsePotentialGrid(
bool
state) { use_potential_grid_ = state;}
57
58
float
tolerance_
;
59
Size
max_steps_
;
60
Size
interpolation_steps_
;
61
Size
icosaeder_steps_
;
62
float
atom_distance_
;
63
Size
field_line_errors_
;
64
bool
use_atoms_
;
65
Size
monte_carlo_nr_lines_
;
66
RegularData3D
*
potential_grid_
;
67
VectorGrid
*
vector_grid_
;
68
AtomContainer
*
ac_
;
69
bool
use_potential_grid_
;
70
};
71
72
}
// namespace VIEW
73
}
// namspace BALL
74
75
#endif // BALL_VIEW_MODELS_FIELDLINE_CREATOR_H
Generated by
1.8.3.1