BALL
1.4.2
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
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
11
# include <
BALL/VIEW/MODELS/modelProcessor.h
>
12
#endif
13
14
#ifndef BALL_STRUCTURE_SURFACEPROCESSOR_H
15
# include <
BALL/STRUCTURE/surfaceProcessor.h
>
16
#endif
17
18
namespace
BALL
19
{
20
class
Atom
;
21
22
namespace
VIEW
23
{
34
class
BALL_VIEW_EXPORT
AddSurfaceModel
35
:
public
ModelProcessor
36
{
37
public
:
38
39
BALL_CREATE
(
AddSurfaceModel
)
40
41
44
46
AddSurfaceModel
();
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
110
virtual
bool
createGeometricObjects();
111
112
private
:
113
114
HashSet<Atom*>
atoms_
;
115
116
SurfaceProcessor::SurfaceType
type_
;
117
118
float
probe_radius_
;
119
};
120
121
}
// namespace VIEW
122
}
// namespace BALL
123
124
#endif // BALL_VIEW_MODELS_SURFACEMODEL_H
Generated by
1.8.3.1