BALL 1.5.0
modelProcessor.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4// $Id: modelProcessor.h,v 1.19.20.1 2007/03/28 13:51:47 amoll Exp $
5//
6
7#ifndef BALL_VIEW_MODELS_MODELPROCESSOR_H
8#define BALL_VIEW_MODELS_MODELPROCESSOR_H
9
10#ifndef BALL_CONCEPT_COMPOSITE_H
12#endif
13
14#ifndef BALL_CONCEPT_PROPERTY_H
16#endif
17
18#ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
20#endif
21
22namespace BALL
23{
24 namespace VIEW
25 {
38 : public UnaryProcessor<Composite>,
39 public PropertyManager
40 {
41 public:
42
44
45
47
49 ModelProcessor(const ModelProcessor& model_processor);
50
53 virtual ~ModelProcessor();
54
56 virtual void clear();
57
59 virtual bool isValid() const
60 {return true;};
61
65 virtual void clearComposites()
66 {};
67
69 virtual void dump(std::ostream& /*s = std::cout*/, Size /*depth = 0*/) const
70 {};
71
74 { return geometric_objects_;}
75
78 { return geometric_objects_;}
79
82
85
88
91
97 virtual bool createGeometricObjects()
98 { return true;}
99
100 protected:
101
102 //_
104
105 //_
107
108 //_
110 };
111
112 } // namespace VIEW
113} // namespace BALL
114
115#endif // BALL_VIEW_MODELS_MODELPROCESSOR_H
#define BALL_CREATE(name)
Definition: create.h:62
Definition: constants.h:13
double precision
Definition: classTest.h:30
std::list< GeometricObject * > GeometricObjectList
const GeometricObjectList & getGeometricObjects() const
Return the list with the created geometric objects.
float getSurfaceDrawingPrecision() const
GeometricObjectList & getGeometricObjects()
Return the list with the created geometric objects.
void setDrawingPrecision(Index precision)
virtual void dump(std::ostream &, Size) const
GeometricObjectList geometric_objects_
Index getDrawingPrecision() const
virtual bool createGeometricObjects()
virtual void clearComposites()
void setSurfaceDrawingPrecision(float precision)
#define BALL_VIEW_EXPORT
Definition: COMMON/global.h:52