• 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
inversion_type.h
Go to the documentation of this file.
1 // Copyright (C) 2005 Maurizio Paolini <paolini@dmf.unicatt.it>
2 
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.
7 
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.
12 
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., 51 Franklin Street, Fifth Floor, Boston, MA
16 // 02110-1301, USA.
17 
18 #ifndef KIG_OBJECTS_INVERSION_TYPE_H
19 #define KIG_OBJECTS_INVERSION_TYPE_H
20 
21 #include "base_type.h"
22 
27 class CircularInversionType
28  : public ArgsParserObjectType
29 {
30  CircularInversionType();
31  ~CircularInversionType();
32 public:
33  static const CircularInversionType* instance();
34 
35  ObjectImp* calc( const Args& args, const KigDocument& ) const;
36  const ObjectImpType* resultId() const;
37 };
38 
42 class InvertPointType
43  : public ArgsParserObjectType
44 {
45  InvertPointType();
46  ~InvertPointType();
47 public:
48  static const InvertPointType* instance();
49 
50  ObjectImp* calc( const Args& args, const KigDocument& ) const;
51  const ObjectImpType* resultId() const;
52 };
53 
54 class InvertLineType
55  : public ArgsParserObjectType
56 {
57  InvertLineType();
58  ~InvertLineType();
59 public:
60  static const InvertLineType* instance();
61 
62  ObjectImp* calc( const Args& args, const KigDocument& ) const;
63  const ObjectImpType* resultId() const;
64 };
65 
66 class InvertSegmentType
67  : public ArgsParserObjectType
68 {
69  InvertSegmentType();
70  ~InvertSegmentType();
71 public:
72  static const InvertSegmentType* instance();
73 
74  ObjectImp* calc( const Args& args, const KigDocument& ) const;
75  const ObjectImpType* resultId() const;
76 };
77 
78 class InvertCircleType
79  : public ArgsParserObjectType
80 {
81  InvertCircleType();
82  ~InvertCircleType();
83 public:
84  static const InvertCircleType* instance();
85 
86  ObjectImp* calc( const Args& args, const KigDocument& ) const;
87  const ObjectImpType* resultId() const;
88 };
89 
90 class InvertArcType
91  : public ArgsParserObjectType
92 {
93  InvertArcType();
94  ~InvertArcType();
95 public:
96  static const InvertArcType* instance();
97 
98  ObjectImp* calc( const Args& args, const KigDocument& ) const;
99  const ObjectImpType* resultId() const;
100 };
101 
102 #endif
ObjectImpType
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
ArgsParserObjectType
This is a convenience subclass of ObjectType that a type should inherit from if its parents can be sp...
Definition: object_type.h:113
InvertCircleType
Definition: inversion_type.h:78
InvertPointType
Inversion of a point, line.
Definition: inversion_type.h:42
InvertSegmentType::calc
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: inversion_type.cc:433
InvertSegmentType
Definition: inversion_type.h:66
InvertSegmentType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: inversion_type.cc:428
CircularInversionType::instance
static const CircularInversionType * instance()
Definition: inversion_type.cc:56
InvertLineType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: inversion_type.cc:375
InvertSegmentType::instance
static const InvertSegmentType * instance()
Definition: inversion_type.cc:422
InvertLineType::instance
static const InvertLineType * instance()
Definition: inversion_type.cc:369
Args
std::vector< const ObjectImp * > Args
Definition: objects/common.h:47
InvertPointType::instance
static const InvertPointType * instance()
Definition: inversion_type.cc:308
CircularInversionType::calc
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: inversion_type.cc:67
InvertCircleType::calc
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: inversion_type.cc:524
InvertLineType
Definition: inversion_type.h:54
InvertArcType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: inversion_type.cc:584
InvertPointType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: inversion_type.cc:314
InvertArcType
Definition: inversion_type.h:90
CircularInversionType
Circular inversion (new style)
Definition: inversion_type.h:27
KigDocument
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
InvertPointType::calc
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: inversion_type.cc:319
InvertCircleType::instance
static const InvertCircleType * instance()
Definition: inversion_type.cc:513
InvertLineType::calc
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: inversion_type.cc:380
ObjectImp
The ObjectImp class represents the behaviour of an object after it is calculated. ...
Definition: object_imp.h:226
InvertArcType::instance
static const InvertArcType * instance()
Definition: inversion_type.cc:578
base_type.h
InvertCircleType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: inversion_type.cc:519
InvertArcType::calc
ObjectImp * calc(const Args &args, const KigDocument &) const
Definition: inversion_type.cc:589
CircularInversionType::resultId
const ObjectImpType * resultId() const
returns the ObjectImp id of the ObjectImp's produced by this ObjectType.
Definition: inversion_type.cc:62
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

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