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
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
11
# include <
BALL/CONCEPT/composite.h
>
12
#endif
13
14
#ifndef BALL_CONCEPT_PROPERTY_H
15
# include <
BALL/CONCEPT/property.h
>
16
#endif
17
18
#ifndef BALL_VIEW_KERNEL_GEOMETRICOBJECT_H
19
# include <
BALL/VIEW/KERNEL/geometricObject.h
>
20
#endif
21
22
namespace
BALL
23
{
24
namespace
VIEW
25
{
37
class
BALL_VIEW_EXPORT
ModelProcessor
38
:
public
UnaryProcessor
<Composite>,
39
public
PropertyManager
40
{
41
public
:
42
43
BALL_CREATE
(
ModelProcessor
)
44
45
46
ModelProcessor
();
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
73
GeometricObjectList
& getGeometricObjects()
74
{
return
geometric_objects_;}
75
77
const
GeometricObjectList
& getGeometricObjects()
const
78
{
return
geometric_objects_;}
79
81
void
setDrawingPrecision(
Index
precision);
82
84
Index
getDrawingPrecision()
const
;
85
87
void
setSurfaceDrawingPrecision(
float
precision);
88
90
float
getSurfaceDrawingPrecision()
const
;
91
97
virtual
bool
createGeometricObjects()
98
{
return
true
;}
99
100
protected
:
101
102
//_
103
GeometricObjectList
geometric_objects_
;
104
105
//_
106
Index
drawing_precision_
;
107
108
//_
109
float
surface_drawing_precision_
;
110
};
111
112
}
// namespace VIEW
113
}
// namespace BALL
114
115
#endif // BALL_VIEW_MODELS_MODELPROCESSOR_H
Generated by
1.8.3.1