Loading...
Searching...
No Matches
surfaceModel.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: surfaceModel.h,v 1.16 2005/12/23 17:02:18 amoll Exp $
//
#ifndef BALL_VIEW_MODELS_SURFACEMODEL_H
#define BALL_VIEW_MODELS_SURFACEMODEL_H
#ifndef BALL_VIEW_MODELS_MODELPROCESSOR_H
# include <BALL/VIEW/MODELS/modelProcessor.h>
#endif
#ifndef BALL_STRUCTURE_SURFACEPROCESSOR_H
# include <BALL/STRUCTURE/surfaceProcessor.h>
#endif
namespace BALL
{
class Atom;
namespace VIEW
{
class BALL_VIEW_EXPORT AddSurfaceModel
: public ModelProcessor
{
public:
BALL_CREATE(AddSurfaceModel)
//@{
AddSurfaceModel();
AddSurfaceModel(const AddSurfaceModel& add_surface_model);
virtual ~AddSurfaceModel();
virtual void clear();
virtual void clearComposites();
//{
SurfaceProcessor::SurfaceType getType() const { return type_; }
void setType(SurfaceProcessor::SurfaceType type) { type_ = type; }
//}
virtual Processor::Result operator() (Composite& composite);
virtual void dump(std::ostream& s = std::cout, Size depth = 0) const;
void setProbeRadius(float radius)
{ probe_radius_ = radius;}
float getProbeRadius() const
{ return probe_radius_;}
virtual bool createGeometricObjects();
private:
HashSet<Atom*> atoms_;
SurfaceProcessor::SurfaceType type_;
float probe_radius_;
};
} // namespace VIEW
} // namespace BALL
#endif // BALL_VIEW_MODELS_SURFACEMODEL_H
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition COMMON/global.h:52
BALL::Atom
Definition atom.h:90
BALL::Composite
Definition composite.h:74
BALL::HashSet
Definition hashSet.h:46
BALL::Processor::Result
int Result
Definition processor.h:36
BALL::SurfaceProcessor
Definition surfaceProcessor.h:50
BALL::SurfaceProcessor::SurfaceType
SurfaceType
Definition surfaceProcessor.h:58
BALL::VIEW::AddSurfaceModel::dump
virtual void dump(std::ostream &s=std::cout, Size depth=0) const
BALL::VIEW::AddSurfaceModel::getType
SurfaceProcessor::SurfaceType getType() const
Return the surface type (SES/SAS).
Definition surfaceModel.h:69
BALL::VIEW::AddSurfaceModel::AddSurfaceModel
AddSurfaceModel()
Default Constructor.
BALL::VIEW::AddSurfaceModel::setProbeRadius
void setProbeRadius(float radius)
Definition surfaceModel.h:102
BALL::VIEW::AddSurfaceModel::clear
virtual void clear()
BALL::VIEW::AddSurfaceModel::createGeometricObjects
virtual bool createGeometricObjects()
BALL::VIEW::AddSurfaceModel::clearComposites
virtual void clearComposites()
BALL::VIEW::AddSurfaceModel::getProbeRadius
float getProbeRadius() const
Definition surfaceModel.h:106
BALL::VIEW::AddSurfaceModel::setType
void setType(SurfaceProcessor::SurfaceType type)
Set the surface type (SES/SAS).
Definition surfaceModel.h:72
BALL::VIEW::ModelProcessor::ModelProcessor
ModelProcessor()
BALL_CREATE
#define BALL_CREATE(name)
Definition create.h:62
modelProcessor.h
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13
BALL::Size
BALL_SIZE_TYPE Size
Definition COMMON/global.h:114
surfaceProcessor.h