BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
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_;
64  bool use_atoms_;
70  };
71 
72  } // namespace VIEW
73 } // namspace BALL
74 
75 #endif // BALL_VIEW_MODELS_FIELDLINE_CREATOR_H