kig
transform_types.cc
Go to the documentation of this file.
189 I18N_NOOP( "Select a length or a segment whose length is the factor of the scaling..." ), false }
228 // I18N_NOOP( "Select the first of two segments whose ratio is the factor of the scaling..." ), false },
230 // I18N_NOOP( "Select the second of two segments whose ratio is the factor of the scaling..." ), false }
232 I18N_NOOP( "Select the first of two lengths whose ratio is the factor of the scaling..." ), false },
234 I18N_NOOP( "Select the second of two lengths whose ratio is the factor of the scaling..." ), false }
272 { ObjectImp::stype(), I18N_NOOP( "Scale this object" ), I18N_NOOP( "Select the object to scale" ), false },
273 { AbstractLineImp::stype(), I18N_NOOP( "Scale over this line" ), I18N_NOOP( "Select the line to scale over" ), false },
274 // { SegmentImp::stype(), I18N_NOOP( "Scale by the length of this segment" ), I18N_NOOP( "Select a segment whose length is the factor for the scaling" ), false }
276 I18N_NOOP( "Select a length or a segment whose length is the factor of the scaling..." ), false }
310 { ObjectImp::stype(), I18N_NOOP( "Scale this object" ), I18N_NOOP( "Select the object to scale" ), false },
311 { AbstractLineImp::stype(), I18N_NOOP( "Scale over this line" ), I18N_NOOP( "Select the line to scale over" ), false },
312 // { SegmentImp::stype(), I18N_NOOP( "Scale the length of this segment..." ), I18N_NOOP( "Select the first of two segments whose ratio is the factor for the scaling" ), false },
313 // { SegmentImp::stype(), I18N_NOOP( "...to the length of this segment" ), I18N_NOOP( "Select the second of two segments whose ratio is the factor for the scaling" ), false }
315 I18N_NOOP( "Select the first of two lengths whose ratio is the factor of the scaling..." ), false },
317 I18N_NOOP( "Select the second of two lengths whose ratio is the factor of the scaling..." ), false }
355 { ObjectImp::stype(), I18N_NOOP( "Projectively rotate this object" ), I18N_NOOP( "Select the object to rotate projectively" ), false },
356 { RayImp::stype(), I18N_NOOP( "Projectively rotate with this half-line" ), I18N_NOOP( "Select the half line of the projective rotation that you want to apply to the object" ), false },
357 { AngleImp::stype(), I18N_NOOP( "Projectively rotate by this angle" ), I18N_NOOP( "Select the angle of the projective rotation that you want to apply to the object" ), false }
432 I18N_NOOP( "Select the triangle that has to be transformed onto a given triangle..." ), false },
434 I18N_NOOP( "Select the triangle that is the image by the affinity of the first triangle..." ), false }
474 I18N_NOOP( "Select the first of the three starting points of the generic affinity..." ), false },
476 I18N_NOOP( "Select the second of the three starting points of the generic affinity..." ), false },
478 I18N_NOOP( "Select the third of the three starting points of the generic affinity..." ), false },
531 I18N_NOOP( "Select the quadrilateral that has to be transformed onto a given quadrilateral..." ), false },
533 I18N_NOOP( "Select the quadrilateral that is the image by the projective transformation of the first quadrilateral..." ), false }
573 I18N_NOOP( "Select the first of the four starting points of the generic projectivity..." ), false },
575 I18N_NOOP( "Select the second of the four starting points of the generic projectivity..." ), false },
577 I18N_NOOP( "Select the third of the four starting points of the generic projectivity..." ), false },
579 I18N_NOOP( "Select the fourth of the four starting points of the generic projectivity..." ), false },
583 I18N_NOOP( "Select the second of the four end points of the generic projectivity..." ), false },
820 { TransformationImp::stype(), I18N_NOOP( "Transform using this transformation" ), "SHOULD NOT BE SEEN", false }
900 I18N_NOOP( "Select the point onto which the similitude should map the first point..." ), false }
static const ArgsParser::spec argsspecLineReflection[]
Definition: transform_types.cc:103
static const ArgsParser::spec argsspecAffinityGI3P[]
Definition: transform_types.cc:469
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:840
static const Transformation translation(const Coordinate &c)
Translation.
Definition: kigtransform.cpp:273
static const Transformation scalingOverLine(double factor, const LineData &l)
Scaling over Line.
Definition: kigtransform.cpp:324
static const Transformation lineReflection(const LineData &l)
Line Reflection.
Definition: kigtransform.cpp:316
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:128
static const ScalingOverLineType * instance()
Definition: transform_types.cc:290
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:777
Definition: transform_types.h:168
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:58
static const PointReflectionType * instance()
Definition: transform_types.cc:87
KIG_INSTANTIATE_OBJECT_TYPE_INSTANCE(SegmentAxisType)
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:846
ObjectImp * transform(const Transformation &) const
Return this ObjectImp, transformed by the transformation t.
Definition: bogus_imp.cc:74
This is a convenience subclass of ObjectType that a type should inherit from if its parents can be sp...
Definition: object_type.h:113
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:802
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:377
static const ArgsParser::spec argsspecAffinityB2Tr[]
Definition: transform_types.cc:427
static const ScalingOverCenter2Type * instance()
Definition: transform_types.cc:248
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:607
An ObjectImp class that is the base of the line-like ObjectImp's: SegmentImp, LineImp and RayImp...
Definition: line_imp.h:31
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:697
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:167
static const Transformation pointReflection(const Coordinate &c)
Point Reflection.
Definition: kigtransform.cpp:285
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:732
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:787
AngleImpType angleimptypeinstance
Definition: transform_types.h:116
static const ArgsParser::spec argsspecProjectivityB2Qu[]
Definition: transform_types.cc:526
static const Transformation projectiveRotation(double alpha, const Coordinate &d, const Coordinate &t)
Projective Rotation.
Definition: kigtransform.cpp:591
static const ArgsParser::spec argsspecScalingOverLine[]
Definition: transform_types.cc:270
static const ObjectImpType * stype()
Returns the ObjectImpType representing the RayImp type.
Definition: line_imp.cc:562
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:254
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:767
static const ObjectImpType * stype()
Returns the ObjectImpType representing the VectorImp type.
Definition: other_imp.cc:613
Definition: transform_types.h:129
ObjectImp * transform(const Transformation &) const
Return this ObjectImp, transformed by the transformation t.
Definition: other_imp.cc:46
Definition: transform_types.h:194
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
LengthImpType lengthimptypeinstance
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:747
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:504
static const ProjectivityB2QuType * instance()
Definition: transform_types.cc:547
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:692
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:872
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:727
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:707
static const Transformation castShadow(const Coordinate &ls, const LineData &d)
Cast Shadow.
Definition: kigtransform.cpp:550
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:337
static const ArgsParser::spec argsspecProjectiveRotation[]
Definition: transform_types.cc:353
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:772
Definition: transform_types.h:103
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:752
static const Transformation projectivityGI4P(const std::vector< Coordinate > &FromPoints, const std::vector< Coordinate > &ToPoints, bool &valid)
Projectivity given the image of 4 points.
Definition: kigtransform.cpp:482
static const ArgsParser::spec argsspecProjectivityGI4P[]
Definition: transform_types.cc:568
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:657
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:672
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:762
static const ArgsParser::spec argsspecSimilitude[]
Definition: transform_types.cc:891
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:712
static const ArgsParser::spec argsspecPointReflection[]
Definition: transform_types.cc:68
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:737
static const ArgsParser::spec argsspecTranslation[]
Definition: transform_types.cc:33
bool checkArgs(const std::vector< ObjectCalcer * > &os) const
Definition: argsparser.cpp:222
static const ArgsParser::spec argsspecCastShadow[]
Definition: transform_types.cc:629
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:93
Definition: argsparser.h:113
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:797
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:812
Definition: transform_types.h:77
static const ArgsParser::spec argsspecScalingOverCenter2[]
Definition: transform_types.cc:221
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:417
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:757
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:717
Definition: transform_types.h:232
static const Transformation scalingOverPoint(double factor, const Coordinate ¢er=Coordinate())
Scaling over Point.
Definition: kigtransform.cpp:260
static const ScalingOverCenterType * instance()
Definition: transform_types.cc:203
static const ProjectiveRotationType * instance()
Definition: transform_types.cc:371
static const ArgsParser::spec argsspecApplyTransformation[]
Definition: transform_types.cc:817
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:856
static const Transformation affinityGI3P(const std::vector< Coordinate > &FromPoints, const std::vector< Coordinate > &ToPoints, bool &valid)
Affinity given the image of 3 points.
Definition: kigtransform.cpp:391
static const Transformation harmonicHomology(const Coordinate ¢er, const LineData &axis)
Harmonic Homology.
Definition: kigtransform.cpp:344
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:702
static const AffinityB2TrType * instance()
Definition: transform_types.cc:448
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
Definition: transform_types.h:64
static const ArgsParser::spec argsspecHarmonicHomology[]
Definition: transform_types.cc:390
static const AffinityGI3PType * instance()
Definition: transform_types.cc:498
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:667
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:782
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:851
static const ScalingOverLine2Type * instance()
Definition: transform_types.cc:331
Definition: transform_types.h:38
Definition: transform_types.h:155
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AngleImp type.
Definition: other_imp.cc:597
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:296
Definition: transform_types.h:25
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AbstractLineImp type.
Definition: line_imp.cc:520
Definition: transform_types.h:207
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:553
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:687
static const Transformation similitude(const Coordinate ¢er, double theta, double factor)
Similitude.
Definition: kigtransform.cpp:794
static const ApplyTransformationObjectType * instance()
Definition: transform_types.cc:834
Definition: transform_types.h:90
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:682
static const ArgsParser::spec argsspecScalingOverCenter[]
Definition: transform_types.cc:180
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:722
double getDoubleFromImp(const ObjectImp *obj, bool &valid)
Definition: special_imptypes.cc:27
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:861
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:742
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:454
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: transform_types.cc:677
static const LineReflectionType * instance()
Definition: transform_types.cc:122
virtual ObjectImp * transform(const Transformation &t) const =0
Return this ObjectImp, transformed by the transformation t.
Definition: transform_types.h:142
static const ArgsParser::spec argsspecScalingOverLine2[]
Definition: transform_types.cc:308
static const HarmonicHomologyType * instance()
Definition: transform_types.cc:411
static const Transformation rotation(double angle, const Coordinate ¢er=Coordinate())
Rotation.
Definition: kigtransform.cpp:658
Definition: transform_types.h:181
static const ProjectivityGI4PType * instance()
Definition: transform_types.cc:601
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:807
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: transform_types.cc:209
bool isTransform() const
is this object type a transformation type.
Definition: transform_types.cc:792
Definition: transform_types.h:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.