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
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
BALL::TRegularData3D
Definition:
regularData3D.h:45
BALL::VIEW::FieldLineCreator::use_potential_grid_
bool use_potential_grid_
Definition:
fieldLineCreator.h:69
vector3.h
BALL_CREATE
#define BALL_CREATE(name)
Definition:
create.h:62
BALL::VIEW::FieldLineCreator::field_line_errors_
Size field_line_errors_
Definition:
fieldLineCreator.h:63
BALL::TVector3< float >
BALL::VIEW::FieldLineCreator::ac_
AtomContainer * ac_
Definition:
fieldLineCreator.h:68
representation.h
BALL::AtomContainer
Definition:
atomContainer.h:29
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
BALL::VIEW::FieldLineCreator::tolerance_
float tolerance_
Definition:
fieldLineCreator.h:58
BALL::VIEW::FieldLineCreator::icosaeder_steps_
Size icosaeder_steps_
Definition:
fieldLineCreator.h:61
BALL::VIEW::FieldLineCreator::atom_distance_
float atom_distance_
Definition:
fieldLineCreator.h:62
BALL::VIEW::FieldLineCreator
Definition:
fieldLineCreator.h:28
BALL::VIEW::FieldLineCreator::vector_grid_
VectorGrid * vector_grid_
Definition:
fieldLineCreator.h:67
BALL::VIEW::FieldLineCreator::potential_grid_
RegularData3D * potential_grid_
Definition:
fieldLineCreator.h:66
BALL_SIZE_TYPE
BALL::VIEW::FieldLineCreator::monte_carlo_nr_lines_
Size monte_carlo_nr_lines_
Definition:
fieldLineCreator.h:65
BALL::VIEW::FieldLineCreator::use_atoms_
bool use_atoms_
Definition:
fieldLineCreator.h:64
BALL::VIEW::FieldLineCreator::interpolation_steps_
Size interpolation_steps_
Definition:
fieldLineCreator.h:60
BALL::VIEW::FieldLineCreator::VectorGrid
TRegularData3D< Vector3 > VectorGrid
Definition:
fieldLineCreator.h:32
BALL::VIEW::Representation
Definition:
representation.h:57
BALL::VIEW::FieldLineCreator::max_steps_
Size max_steps_
Definition:
fieldLineCreator.h:59
Generated by
1.8.7