BALL 1.5.0
Loading...
Searching...
No Matches
surfaceModel.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4// $Id: surfaceModel.h,v 1.16 2005/12/23 17:02:18 amoll Exp $
5//
6
7#ifndef BALL_VIEW_MODELS_SURFACEMODEL_H
8#define BALL_VIEW_MODELS_SURFACEMODEL_H
9
10#ifndef BALL_VIEW_MODELS_MODELPROCESSOR_H
12#endif
13
14#ifndef BALL_STRUCTURE_SURFACEPROCESSOR_H
16#endif
17
18namespace BALL
19{
20 class Atom;
21
22 namespace VIEW
23 {
35 : public ModelProcessor
36 {
37 public:
38
40
41
44
45
47
49 AddSurfaceModel(const AddSurfaceModel& add_surface_model);
50
52 virtual ~AddSurfaceModel();
53
57 virtual void clear();
58
60 virtual void clearComposites();
61
62
64
66 //{
67
69 SurfaceProcessor::SurfaceType getType() const { return type_; }
70
72 void setType(SurfaceProcessor::SurfaceType type) { type_ = type; }
73
74 //}
78
86 virtual Processor::Result operator() (Composite& composite);
87
89
92
99 virtual void dump(std::ostream& s = std::cout, Size depth = 0) const;
100
102 void setProbeRadius(float radius)
103 { probe_radius_ = radius;}
104
106 float getProbeRadius() const
107 { return probe_radius_;}
108
111
112 private:
113
114 HashSet<Atom*> atoms_;
115
117
118 float probe_radius_;
119 };
120
121 } // namespace VIEW
122} // namespace BALL
123
124#endif // BALL_VIEW_MODELS_SURFACEMODEL_H
#define BALL_CREATE(name)
Definition create.h:62
char Atom[5]
Definition PDBdefs.h:257
virtual void dump(std::ostream &s=std::cout, Size depth=0) const
void setProbeRadius(float radius)
virtual bool createGeometricObjects()
void setType(SurfaceProcessor::SurfaceType type)
Set the surface type (SES/SAS)
#define BALL_VIEW_EXPORT