Loading...
Searching...
No Matches
fieldLineCreator.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: fieldLineCreator.h,v 1.1.4.2 2007/04/11 11:55:51 amoll Exp $
//
#ifndef BALL_VIEW_MODELS_FIELDLINE_CREATOR_H
#define BALL_VIEW_MODELS_FIELDLINE_CREATOR_H
#ifndef BALL_MATHS_VECTOR3_H
# include <BALL/MATHS/vector3.h>
#endif
#ifndef BALL_VIEW_KERNEL_REPRESENTATION_H
# include <BALL/VIEW/KERNEL/representation.h>
#endif
namespace BALL
{
class AtomContainer;
namespace VIEW
{
class BALL_VIEW_EXPORT FieldLineCreator
{
public:
typedef TRegularData3D<Vector3> VectorGrid;
BALL_CREATE(FieldLineCreator)
FieldLineCreator();
FieldLineCreator(const FieldLineCreator& fc);
virtual ~FieldLineCreator();
Representation* createLines();
void createFieldLine_(const Vector3& point, Representation& rep);
inline void calculateLinePoints_(Vector3 point, vector<Vector3>& points, float factor = 1.);
void setUsePotentialGrid(bool state) { use_potential_grid_ = state;}
float tolerance_;
Size max_steps_;
Size interpolation_steps_;
Size icosaeder_steps_;
float atom_distance_;
Size field_line_errors_;
bool use_atoms_;
Size monte_carlo_nr_lines_;
RegularData3D* potential_grid_;
VectorGrid* vector_grid_;
AtomContainer* ac_;
bool use_potential_grid_;
};
} // namespace VIEW
} // namspace BALL
#endif // BALL_VIEW_MODELS_FIELDLINE_CREATOR_H
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition COMMON/global.h:52
BALL::AtomContainer
Definition atomContainer.h:32
BALL::TRegularData3D
Definition regularData3D.h:46
BALL::VIEW::FieldLineCreator::monte_carlo_nr_lines_
Size monte_carlo_nr_lines_
Definition fieldLineCreator.h:65
BALL::VIEW::FieldLineCreator::FieldLineCreator
FieldLineCreator()
BALL::VIEW::FieldLineCreator::use_atoms_
bool use_atoms_
Definition fieldLineCreator.h:64
BALL::VIEW::FieldLineCreator::max_steps_
Size max_steps_
Definition fieldLineCreator.h:59
BALL::VIEW::FieldLineCreator::interpolation_steps_
Size interpolation_steps_
Definition fieldLineCreator.h:60
BALL::VIEW::FieldLineCreator::atom_distance_
float atom_distance_
Definition fieldLineCreator.h:62
BALL::VIEW::FieldLineCreator::icosaeder_steps_
Size icosaeder_steps_
Definition fieldLineCreator.h:61
BALL::VIEW::FieldLineCreator::createLines
Representation * createLines()
BALL::VIEW::FieldLineCreator::setUsePotentialGrid
void setUsePotentialGrid(bool state)
Definition fieldLineCreator.h:56
BALL::VIEW::FieldLineCreator::field_line_errors_
Size field_line_errors_
Definition fieldLineCreator.h:63
BALL::VIEW::FieldLineCreator::tolerance_
float tolerance_
Definition fieldLineCreator.h:58
BALL::VIEW::FieldLineCreator::vector_grid_
VectorGrid * vector_grid_
Definition fieldLineCreator.h:67
BALL::VIEW::FieldLineCreator::calculateLinePoints_
void calculateLinePoints_(Vector3 point, vector< Vector3 > &points, float factor=1.)
BALL::VIEW::FieldLineCreator::ac_
AtomContainer * ac_
Definition fieldLineCreator.h:68
BALL::VIEW::FieldLineCreator::VectorGrid
TRegularData3D< Vector3 > VectorGrid
Definition fieldLineCreator.h:32
BALL::VIEW::FieldLineCreator::potential_grid_
RegularData3D * potential_grid_
Definition fieldLineCreator.h:66
BALL::VIEW::FieldLineCreator::use_potential_grid_
bool use_potential_grid_
Definition fieldLineCreator.h:69
BALL::VIEW::FieldLineCreator::createFieldLine_
void createFieldLine_(const Vector3 &point, Representation &rep)
BALL::VIEW::Representation
Definition representation.h:59
BALL_CREATE
#define BALL_CREATE(name)
Definition create.h:62
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13
BALL::Size
BALL_SIZE_TYPE Size
Definition COMMON/global.h:114
BALL::RegularData3D
TRegularData3D< float > RegularData3D
Definition regularData3D.h:515
BALL::Vector3
TVector3< float > Vector3
Definition vector3.h:1084
representation.h
vector3.h