• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kig

  • sources
  • kde-4.14
  • kdeedu
  • kig
  • objects
Variables
transform_types.cc File Reference
#include "transform_types.h"
#include <math.h>
#include "bogus_imp.h"
#include "point_imp.h"
#include "line_imp.h"
#include "other_imp.h"
#include "polygon_imp.h"
#include "special_imptypes.h"
#include "../misc/coordinate.h"
#include "../misc/kigtransform.h"
#include <cmath>
Include dependency graph for transform_types.cc:

Go to the source code of this file.

Variables

static const ArgsParser::spec argsspecAffinityB2Tr []
 
static const ArgsParser::spec argsspecAffinityGI3P []
 
static const ArgsParser::spec argsspecApplyTransformation []
 
static const ArgsParser::spec argsspecCastShadow []
 
static const ArgsParser::spec argsspecHarmonicHomology []
 
static const ArgsParser::spec argsspecLineReflection []
 
static const ArgsParser::spec argsspecPointReflection []
 
static const ArgsParser::spec argsspecProjectiveRotation []
 
static const ArgsParser::spec argsspecProjectivityB2Qu []
 
static const ArgsParser::spec argsspecProjectivityGI4P []
 
static const ArgsParser::spec argsspecRotation []
 
static const ArgsParser::spec argsspecScalingOverCenter []
 
static const ArgsParser::spec argsspecScalingOverCenter2 []
 
static const ArgsParser::spec argsspecScalingOverLine []
 
static const ArgsParser::spec argsspecScalingOverLine2 []
 
static const ArgsParser::spec argsspecSimilitude []
 
static const ArgsParser::spec argsspecTranslation []
 

Variable Documentation

const ArgsParser::spec argsspecAffinityB2Tr[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Generic affinity of this object" ),
I18N_NOOP( "Select the object to transform..." ), false },
{ FilledPolygonImp::stype3(), I18N_NOOP( "Map this triangle" ),
I18N_NOOP( "Select the triangle that has to be transformed onto a given triangle..." ), false },
{ FilledPolygonImp::stype3(), I18N_NOOP( "onto this other triangle" ),
I18N_NOOP( "Select the triangle that is the image by the affinity of the first triangle..." ), false }
}
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
FilledPolygonImp::stype3
static const ObjectImpType * stype3()
Definition: polygon_imp.cc:714

Definition at line 427 of file transform_types.cc.

const ArgsParser::spec argsspecAffinityGI3P[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Generic affinity of this object" ),
I18N_NOOP( "Select the object to transform..." ), false },
{ PointImp::stype(), I18N_NOOP( "First of 3 starting points" ),
I18N_NOOP( "Select the first of the three starting points of the generic affinity..." ), false },
{ PointImp::stype(), I18N_NOOP( "Second of 3 starting points" ),
I18N_NOOP( "Select the second of the three starting points of the generic affinity..." ), false },
{ PointImp::stype(), I18N_NOOP( "Third of 3 starting points" ),
I18N_NOOP( "Select the third of the three starting points of the generic affinity..." ), false },
{ PointImp::stype(), I18N_NOOP( "Transformed position of first point" ),
I18N_NOOP( "Select the first of the three end points of the generic affinity..." ), false },
{ PointImp::stype(), I18N_NOOP( "Transformed position of second point" ),
I18N_NOOP( "Select the second of the three end points of the generic affinity..." ), false },
{ PointImp::stype(), I18N_NOOP( "Transformed position of third point" ),
I18N_NOOP( "Select the third of the three end points of the generic affinity..." ), false },
}
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
PointImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159

Definition at line 469 of file transform_types.cc.

const ArgsParser::spec argsspecApplyTransformation[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Transform this object" ), "SHOULD NOT BE SEEN", false },
{ TransformationImp::stype(), I18N_NOOP( "Transform using this transformation" ), "SHOULD NOT BE SEEN", false }
}
TransformationImp::stype
static const ObjectImpType * stype()
Definition: bogus_imp.cc:233
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284

Definition at line 817 of file transform_types.cc.

const ArgsParser::spec argsspecCastShadow[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Cast the shadow of this object" ),
I18N_NOOP( "Select the object of which you want to construct the shadow..." ), false },
{ PointImp::stype(), I18N_NOOP( "Cast a shadow from this light source" ),
I18N_NOOP( "Select the light source from which the shadow should originate..." ), false },
{ AbstractLineImp::stype(),
I18N_NOOP( "Cast a shadow on the horizon represented by this line" ),
I18N_NOOP( "Select the horizon for the shadow..." ), false }
}
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
PointImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
AbstractLineImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AbstractLineImp type.
Definition: line_imp.cc:520

Definition at line 629 of file transform_types.cc.

const ArgsParser::spec argsspecHarmonicHomology[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Harmonic Homology of this object" ),
I18N_NOOP( "Select the object to transform..." ), false },
{ PointImp::stype(), I18N_NOOP( "Harmonic Homology with this center" ),
I18N_NOOP( "Select the center point of the harmonic homology..." ), false },
{ AbstractLineImp::stype(), I18N_NOOP( "Harmonic Homology with this axis" ),
I18N_NOOP( "Select the axis of the harmonic homology..." ), false }
}
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
PointImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159
AbstractLineImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AbstractLineImp type.
Definition: line_imp.cc:520

Definition at line 390 of file transform_types.cc.

const ArgsParser::spec argsspecLineReflection[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Reflect this object" ),
I18N_NOOP( "Select the object to reflect..." ), false },
{ AbstractLineImp::stype(), I18N_NOOP( "Reflect in this line" ),
I18N_NOOP( "Select the line to reflect in..." ), false }
}
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
AbstractLineImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AbstractLineImp type.
Definition: line_imp.cc:520

Definition at line 103 of file transform_types.cc.

const ArgsParser::spec argsspecPointReflection[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Reflect this object" ),
I18N_NOOP( "Select the object to reflect..." ), false },
{ PointImp::stype(), I18N_NOOP( "Reflect in this point" ),
I18N_NOOP( "Select the point to reflect in..." ), false }
}
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
PointImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159

Definition at line 68 of file transform_types.cc.

const ArgsParser::spec argsspecProjectiveRotation[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Projectively rotate this object" ), I18N_NOOP( "Select the object to rotate projectively" ), false },
{ 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 },
{ 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 }
}
RayImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing the RayImp type.
Definition: line_imp.cc:562
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
AngleImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AngleImp type.
Definition: other_imp.cc:597

Definition at line 353 of file transform_types.cc.

const ArgsParser::spec argsspecProjectivityB2Qu[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Generic projective transformation of this object" ),
I18N_NOOP( "Select the object to transform..." ), false },
{ FilledPolygonImp::stype4(), I18N_NOOP( "Map this quadrilateral" ),
I18N_NOOP( "Select the quadrilateral that has to be transformed onto a given quadrilateral..." ), false },
{ FilledPolygonImp::stype4(), I18N_NOOP( "onto this other quadrilateral" ),
I18N_NOOP( "Select the quadrilateral that is the image by the projective transformation of the first quadrilateral..." ), false }
}
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
FilledPolygonImp::stype4
static const ObjectImpType * stype4()
Definition: polygon_imp.cc:732

Definition at line 526 of file transform_types.cc.

const ArgsParser::spec argsspecProjectivityGI4P[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Generic projective transformation of this object" ),
I18N_NOOP( "Select the object to transform..." ), false },
{ PointImp::stype(), I18N_NOOP( "First of 4 starting points" ),
I18N_NOOP( "Select the first of the four starting points of the generic projectivity..." ), false },
{ PointImp::stype(), I18N_NOOP( "Second of 4 starting points" ),
I18N_NOOP( "Select the second of the four starting points of the generic projectivity..." ), false },
{ PointImp::stype(), I18N_NOOP( "Third of 4 starting points" ),
I18N_NOOP( "Select the third of the four starting points of the generic projectivity..." ), false },
{ PointImp::stype(), I18N_NOOP( "Fourth of 4 starting points" ),
I18N_NOOP( "Select the fourth of the four starting points of the generic projectivity..." ), false },
{ PointImp::stype(), I18N_NOOP( "Transformed position of first point" ),
I18N_NOOP( "Select the first of the four end points of the generic projectivity..." ), false },
{ PointImp::stype(), I18N_NOOP( "Transformed position of second point" ),
I18N_NOOP( "Select the second of the four end points of the generic projectivity..." ), false },
{ PointImp::stype(), I18N_NOOP( "Transformed position of third point" ),
I18N_NOOP( "Select the third of the four end points of the generic projectivity..." ), false },
{ PointImp::stype(), I18N_NOOP( "Transformed position of fourth point" ),
I18N_NOOP( "Select the fourth of the four end points of the generic projectivity..." ), false }
}
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
PointImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159

Definition at line 568 of file transform_types.cc.

const ArgsParser::spec argsspecRotation[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Rotate this object" ),
I18N_NOOP( "Select the object to rotate..." ), false },
{ PointImp::stype(), I18N_NOOP( "Rotate around this point" ),
I18N_NOOP( "Select the center point of the rotation..." ), false },
{ &angleimptypeinstance, I18N_NOOP( "Rotate by this angle" ),
I18N_NOOP( "Select the angle of the rotation..." ), false }
}
angleimptypeinstance
AngleImpType angleimptypeinstance
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
PointImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159

Definition at line 138 of file transform_types.cc.

const ArgsParser::spec argsspecScalingOverCenter[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Scale this object" ),
I18N_NOOP( "Select the object to scale..." ), false },
{ PointImp::stype(), I18N_NOOP( "Scale with this center" ),
I18N_NOOP( "Select the center point of the scaling..." ), false },
{ &lengthimptypeinstance, I18N_NOOP( "Scale by this length" ),
I18N_NOOP( "Select a length or a segment whose length is the factor of the scaling..." ), false }
}
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
lengthimptypeinstance
LengthImpType lengthimptypeinstance
PointImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159

Definition at line 180 of file transform_types.cc.

const ArgsParser::spec argsspecScalingOverCenter2[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Scale this object" ),
I18N_NOOP( "Select the object to scale..." ), false },
{ PointImp::stype(), I18N_NOOP( "Scale with this center" ),
I18N_NOOP( "Select the center point of the scaling..." ), false },
{ &lengthimptypeinstance, I18N_NOOP( "Scale this length..." ),
I18N_NOOP( "Select the first of two lengths whose ratio is the factor of the scaling..." ), false },
{ &lengthimptypeinstance, I18N_NOOP( "...to this other length" ),
I18N_NOOP( "Select the second of two lengths whose ratio is the factor of the scaling..." ), false }
}
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
lengthimptypeinstance
LengthImpType lengthimptypeinstance
PointImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159

Definition at line 221 of file transform_types.cc.

const ArgsParser::spec argsspecScalingOverLine[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Scale this object" ), I18N_NOOP( "Select the object to scale" ), false },
{ AbstractLineImp::stype(), I18N_NOOP( "Scale over this line" ), I18N_NOOP( "Select the line to scale over" ), false },
{ &lengthimptypeinstance, I18N_NOOP( "Scale by this length" ),
I18N_NOOP( "Select a length or a segment whose length is the factor of the scaling..." ), false }
}
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
lengthimptypeinstance
LengthImpType lengthimptypeinstance
AbstractLineImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AbstractLineImp type.
Definition: line_imp.cc:520

Definition at line 270 of file transform_types.cc.

const ArgsParser::spec argsspecScalingOverLine2[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Scale this object" ), I18N_NOOP( "Select the object to scale" ), false },
{ AbstractLineImp::stype(), I18N_NOOP( "Scale over this line" ), I18N_NOOP( "Select the line to scale over" ), false },
{ &lengthimptypeinstance, I18N_NOOP( "Scale this length..." ),
I18N_NOOP( "Select the first of two lengths whose ratio is the factor of the scaling..." ), false },
{ &lengthimptypeinstance, I18N_NOOP( "...to this other length" ),
I18N_NOOP( "Select the second of two lengths whose ratio is the factor of the scaling..." ), false }
}
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
lengthimptypeinstance
LengthImpType lengthimptypeinstance
AbstractLineImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing the AbstractLineImp type.
Definition: line_imp.cc:520

Definition at line 308 of file transform_types.cc.

const ArgsParser::spec argsspecSimilitude[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP( "Apply a similitude to this object" ),
I18N_NOOP( "Select the object to transform..." ), false },
{ PointImp::stype(), I18N_NOOP( "Apply a similitude with this center" ),
I18N_NOOP( "Select the center for the similitude..." ), false },
{ PointImp::stype(), I18N_NOOP( "Apply a similitude mapping this point onto another point" ),
I18N_NOOP( "Select the point which the similitude should map onto another point..." ), false },
{ PointImp::stype(), I18N_NOOP( "Apply a similitude mapping a point onto this point" ),
I18N_NOOP( "Select the point onto which the similitude should map the first point..." ), false }
}
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284
PointImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing PointImp's.
Definition: point_imp.cc:159

Definition at line 891 of file transform_types.cc.

const ArgsParser::spec argsspecTranslation[]
static
Initial value:
=
{
{ ObjectImp::stype(), I18N_NOOP("Translate this object"),
I18N_NOOP( "Select the object to translate..." ), false },
{ VectorImp::stype(), I18N_NOOP("Translate by this vector"),
I18N_NOOP( "Select the vector to translate by..." ), false }
}
VectorImp::stype
static const ObjectImpType * stype()
Returns the ObjectImpType representing the VectorImp type.
Definition: other_imp.cc:613
ObjectImp::stype
static const ObjectImpType * stype()
The ObjectImpType representing the base ObjectImp class.
Definition: object_imp.cc:284

Definition at line 33 of file transform_types.cc.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal