1 // Copyright (C) 2003 Dominique Devriese <devriese@kde.org>
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU General Public License
5 // as published by the Free Software Foundation; either version 2
6 // of the License, or (at your option) any later version.
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU General Public License for more details.
13 // You should have received a copy of the GNU General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 #ifndef KIG_OBJECTS_TRANSFORM_TYPES_H
19 #define KIG_OBJECTS_TRANSFORM_TYPES_H
21 #include "object_type.h"
24 : public ArgsParserObjectType
29 static const TranslatedType
* instance();
30 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
31 const ObjectImpType
* resultId() const;
33 bool isTransform() const;
36 class PointReflectionType
37 : public ArgsParserObjectType
39 PointReflectionType();
40 ~PointReflectionType();
42 static const PointReflectionType
* instance();
43 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
44 const ObjectImpType
* resultId() const;
46 bool isTransform() const;
49 class LineReflectionType
50 : public ArgsParserObjectType
53 ~LineReflectionType();
55 static const LineReflectionType
* instance();
56 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
57 const ObjectImpType
* resultId() const;
59 bool isTransform() const;
63 : public ArgsParserObjectType
68 static const RotationType
* instance();
69 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
70 const ObjectImpType
* resultId() const;
72 bool isTransform() const;
75 class ScalingOverCenterType
76 : public ArgsParserObjectType
78 ScalingOverCenterType();
79 ~ScalingOverCenterType();
81 static const ScalingOverCenterType
* instance();
82 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
83 const ObjectImpType
* resultId() const;
85 bool isTransform() const;
88 class ScalingOverCenter2Type
89 : public ArgsParserObjectType
91 ScalingOverCenter2Type();
92 ~ScalingOverCenter2Type();
94 static const ScalingOverCenter2Type
* instance();
95 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
96 const ObjectImpType
* resultId() const;
98 bool isTransform() const;
101 class ScalingOverLineType
102 : public ArgsParserObjectType
104 ScalingOverLineType();
105 ~ScalingOverLineType();
107 static const ScalingOverLineType
* instance();
108 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
109 const ObjectImpType
* resultId() const;
111 bool isTransform() const;
114 class ScalingOverLine2Type
115 : public ArgsParserObjectType
117 ScalingOverLine2Type();
118 ~ScalingOverLine2Type();
120 static const ScalingOverLine2Type
* instance();
121 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
122 const ObjectImpType
* resultId() const;
124 bool isTransform() const;
127 class ProjectiveRotationType
128 : public ArgsParserObjectType
130 ProjectiveRotationType();
131 ~ProjectiveRotationType();
133 static const ProjectiveRotationType
* instance();
134 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
135 const ObjectImpType
* resultId() const;
137 bool isTransform() const;
140 class HarmonicHomologyType
141 : public ArgsParserObjectType
143 HarmonicHomologyType();
144 ~HarmonicHomologyType();
146 static const HarmonicHomologyType
* instance();
147 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
148 const ObjectImpType
* resultId() const;
150 bool isTransform() const;
153 class AffinityB2TrType
154 : public ArgsParserObjectType
159 static const AffinityB2TrType
* instance();
160 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
161 const ObjectImpType
* resultId() const;
163 bool isTransform() const;
166 class AffinityGI3PType
167 : public ArgsParserObjectType
172 static const AffinityGI3PType
* instance();
173 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
174 const ObjectImpType
* resultId() const;
176 bool isTransform() const;
179 class ProjectivityB2QuType
180 : public ArgsParserObjectType
182 ProjectivityB2QuType();
183 ~ProjectivityB2QuType();
185 static const ProjectivityB2QuType
* instance();
186 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
187 const ObjectImpType
* resultId() const;
189 bool isTransform() const;
192 class ProjectivityGI4PType
193 : public ArgsParserObjectType
195 ProjectivityGI4PType();
196 ~ProjectivityGI4PType();
198 static const ProjectivityGI4PType
* instance();
199 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
200 const ObjectImpType
* resultId() const;
202 bool isTransform() const;
206 : public ArgsParserObjectType
211 static const CastShadowType
* instance();
212 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
213 const ObjectImpType
* resultId() const;
215 bool isTransform() const;
218 class ApplyTransformationObjectType
219 : public ArgsParserObjectType
221 ApplyTransformationObjectType();
222 ~ApplyTransformationObjectType();
224 static const ApplyTransformationObjectType
* instance();
225 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
226 const ObjectImpType
* resultId() const;
227 bool isTransform() const;
231 : public ArgsParserObjectType
236 static const SimilitudeType
* instance();
237 ObjectImp
* calc( const Args
& args
, const KigDocument
& ) const;
238 const ObjectImpType
* resultId() const;
240 bool isTransform() const;