BALL  1.5.0
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
16 #endif
17 
18 namespace BALL
19 {
20  class AtomContainer;
21 
22  namespace VIEW
23  {
24 
29  {
30  public:
31 
33 
35 
36 
39 
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_;
64  bool use_atoms_;
70  };
71 
72  } // namespace VIEW
73 } // namspace BALL
74 
75 #endif // BALL_VIEW_MODELS_FIELDLINE_CREATOR_H
BALL::VIEW::FieldLineCreator::potential_grid_
RegularData3D * potential_grid_
Definition: fieldLineCreator.h:66
BALL::VIEW::FieldLineCreator::atom_distance_
float atom_distance_
Definition: fieldLineCreator.h:62
BALL::TRegularData3D
Definition: regularData3D.h:46
BALL::AtomContainer
Definition: atomContainer.h:32
BALL::VIEW::FieldLineCreator::interpolation_steps_
Size interpolation_steps_
Definition: fieldLineCreator.h:60
vector3.h
BALL::VIEW::FieldLineCreator::VectorGrid
TRegularData3D< Vector3 > VectorGrid
Definition: fieldLineCreator.h:32
BALL::VIEW::FieldLineCreator::use_atoms_
bool use_atoms_
Definition: fieldLineCreator.h:64
BALL::VIEW::Representation
Definition: representation.h:59
BALL::VIEW::FieldLineCreator::vector_grid_
VectorGrid * vector_grid_
Definition: fieldLineCreator.h:67
representation.h
BALL
Definition: constants.h:13
BALL::VIEW::FieldLineCreator
Definition: fieldLineCreator.h:29
BALL_SIZE_TYPE
BALL::TVector3< float >
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::field_line_errors_
Size field_line_errors_
Definition: fieldLineCreator.h:63
BALL::VIEW::FieldLineCreator::monte_carlo_nr_lines_
Size monte_carlo_nr_lines_
Definition: fieldLineCreator.h:65
BALL::VIEW::FieldLineCreator::max_steps_
Size max_steps_
Definition: fieldLineCreator.h:59
BALL::VIEW::FieldLineCreator::ac_
AtomContainer * ac_
Definition: fieldLineCreator.h:68
BALL::VIEW::FieldLineCreator::use_potential_grid_
bool use_potential_grid_
Definition: fieldLineCreator.h:69
BALL_CREATE
#define BALL_CREATE(name)
Definition: create.h:62
BALL::VIEW::FieldLineCreator::icosaeder_steps_
Size icosaeder_steps_
Definition: fieldLineCreator.h:61