kig
#include <object_type.h>
Inherits ObjectType.
Inherited by AffinityB2TrType, AffinityGI3PType, AngleType, ApplyTransformationObjectType, ArcBCPAType, ArcBTPType, ArcLineIntersectionType, AreCollinearType, AreOrthogonalType, AreParallelType, BezierCubicType, BezierQuadricType, CastShadowType, CircleBPRType, CircleBTPType, CircleCircleIntersectionType, CircleCircleOtherIntersectionType, CircularInversionType, CocConicType, CocCubicType, CocCurveType, ConicArcB5PType, ConicArcBCTPType, ConicAsymptoteType, ConicB5PType, ConicBAAPType, ConicBDFPType, ConicBFFPType, ConicDirectrixType, ConicLineIntersectionType, ConicLineOtherIntersectionType, ConicPolarLineType, ConicPolarPointType, ConicRadicalType, ConstrainedPointType, ConstrainedRelativePointType, ContainsTestType, ConvexHullType, ConvexPolygonTestType, CubicB9PType, CubicCuspB4PType, CubicLineOtherIntersectionType, CubicLineTwoIntersectionType, CubicNodeB6PType, EquilateralHyperbolaB4PType, ExistenceTestType, FixedPointType, HalfAngleType, HalflineByVectorType, HarmonicHomologyType, InPolygonTestType, InvertArcType, InvertCircleType, InvertLineType, InvertPointType, InvertSegmentType, LineByVectorType, LineCubicIntersectionType, LineLineIntersectionType, LineReflectionType, LocusType, MeasureTransportTypeOld, ObjectABType, ObjectLPType, ParabolaBTPType, PointByCoordsType, PointReflectionType, PolygonLineIntersectionType, PolygonPolygonIntersectionType, PolygonSideType, PolygonVertexType, ProjectedPointType, ProjectiveRotationType, ProjectivityB2QuType, ProjectivityGI4PType, RationalBezierCubicType, RationalBezierQuadricType, RelativePointType, RotationType, SameDistanceType, ScalingOverCenter2Type, ScalingOverCenterType, ScalingOverLine2Type, ScalingOverLineType, SimilitudeType, TangentArcType, TangentConicType, TangentCubicType, TangentCurveType, TranslatedType, TriangleB3PType, VectorEqualityTestType, VectorSumType, and VerticalCubicB4PType.
Public Member Functions | |
const ArgsParser & | argsParser () const |
const ObjectImpType * | impRequirement (const ObjectImp *o, const Args &parents) const |
bool | isDefinedOnOrThrough (const ObjectImp *o, const Args &parents) const |
std::vector< ObjectCalcer * > | sortArgs (const std::vector< ObjectCalcer * > &args) const |
Args | sortArgs (const Args &args) const |
![]() | |
virtual | ~ObjectType () |
virtual ObjectImp * | calc (const Args &parents, const KigDocument &d) const =0 |
virtual bool | canMove (const ObjectTypeCalcer &ourobj) const |
virtual void | executeAction (int i, ObjectHolder &o, ObjectTypeCalcer &t, KigPart &d, KigWidget &w, NormalMode &m) const |
const char * | fullName () const |
virtual bool | inherits (int type) const |
virtual bool | isFreelyTranslatable (const ObjectTypeCalcer &ourobj) const |
virtual bool | isTransform () const |
virtual std::vector < ObjectCalcer * > | movableParents (const ObjectTypeCalcer &ourobj) const |
virtual void | move (ObjectTypeCalcer &ourobj, const Coordinate &to, const KigDocument &d) const |
virtual const Coordinate | moveReferencePoint (const ObjectTypeCalcer &ourobj) const |
virtual const ObjectImpType * | resultId () const =0 |
virtual QStringList | specialActions () const |
Protected Member Functions | |
ArgsParserObjectType (const char fulltypename[], const struct ArgsParser::spec argsspec[], int n) | |
![]() | |
ObjectType (const char fulltypename[]) | |
Protected Attributes | |
const ArgsParser | margsparser |
Additional Inherited Members | |
![]() | |
enum | { ID_ConstrainedPointType, ID_LocusType, ID_FixedPointType } |
Detailed Description
This is a convenience subclass of ObjectType that a type should inherit from if its parents can be specified in an ArgsParser.
Definition at line 113 of file object_type.h.
Constructor & Destructor Documentation
|
protected |
Definition at line 69 of file object_type.cc.
Member Function Documentation
const ArgsParser & ArgsParserObjectType::argsParser | ( | ) | const |
Definition at line 81 of file object_type.cc.
|
virtual |
Supposing that parents
would be given as parents to this type's calc function, this function returns the ObjectImp id that o
should at least have.
( o
should be part of parents
)
Implements ObjectType.
Reimplemented in LocusType.
Definition at line 76 of file object_type.cc.
|
virtual |
Supposing that parents
would be given as parents to this type's calc function, this function returns whether the returned ObjectImp will be, by construction, on o
( if o
is a curve ), or through o
( if o
is a point ).
Implements ObjectType.
Definition at line 123 of file object_type.cc.
|
virtual |
Member Data Documentation
|
protected |
Definition at line 117 of file object_type.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.