|
QCAD
Open Source 2D CAD
|
Go to the documentation of this file.
20 #ifndef RDIMROTATEDENTITY_H
21 #define RDIMROTATEDENTITY_H
106 virtual QPair<QVariant, RPropertyAttributes>
getProperty(
108 bool humanReadable =
false,
bool noAttributes =
false,
bool showOnRequest =
false);
123 data.setExtensionPoint1(p);
127 return data.getExtensionPoint1();
131 data.setExtensionPoint2(p);
135 return data.getExtensionPoint2();
143 return data.getRotation();
147 virtual void print(QDebug dbg)
const;
void setExtensionPoint2(const RVector &p)
Definition: RDimRotatedEntity.h:130
static RPropertyTypeId PropertyBlock
Definition: RDimRotatedEntity.h:48
static RPropertyTypeId PropertyExtensionPoint1X
Definition: RDimRotatedEntity.h:80
RDimRotatedData data
Definition: RDimRotatedEntity.h:150
static RPropertyTypeId PropertyMiddleOfTextX
Definition: RDimRotatedEntity.h:57
static RPropertyTypeId PropertyHandle
Definition: RDimRotatedEntity.h:44
static RPropertyTypeId PropertyExtLineFixLength
Definition: RDimRotatedEntity.h:74
static RPropertyTypeId PropertyDimBlockName
Definition: RDimRotatedEntity.h:67
static RPropertyTypeId PropertyUpperTolerance
Definition: RDimRotatedEntity.h:61
void setRotation(double a)
Definition: RDimRotatedEntity.h:138
static RPropertyTypeId PropertyDrawOrder
Definition: RDimRotatedEntity.h:55
static RPropertyTypeId PropertyAutoTextPos
Definition: RDimRotatedEntity.h:68
static RPropertyTypeId PropertyDimensionLinePosX
Definition: RDimRotatedEntity.h:76
static RPropertyTypeId PropertyFontName
Definition: RDimRotatedEntity.h:69
Rotated, linear dimension entity class.
Definition: RDimRotatedEntity.h:38
static RPropertyTypeId PropertyType
Definition: RDimRotatedEntity.h:47
static RPropertyTypeId PropertyWorkingSet
Definition: RDimRotatedEntity.h:46
static RPropertyTypeId PropertyLowerTolerance
Definition: RDimRotatedEntity.h:62
static RPropertyTypeId PropertyMeasuredValue
Definition: RDimRotatedEntity.h:63
Represents a 3d vector (x/y/z).
Definition: RVector.h:46
static RPropertyTypeId PropertyExtensionPoint1Z
Definition: RDimRotatedEntity.h:82
static RPropertyTypeId PropertyLayer
Definition: RDimRotatedEntity.h:49
static RPropertyTypeId PropertyExtensionPoint2X
Definition: RDimRotatedEntity.h:84
#define QCADENTITY_EXPORT
Definition: entity_global.h:10
void setExtensionPoint1(const RVector &p)
Definition: RDimRotatedEntity.h:122
RVector getExtensionPoint1() const
Definition: RDimRotatedEntity.h:126
static void init()
Definition: RDimLinearEntity.cpp:73
virtual RDimRotatedEntity * clone() const
Definition: RDimRotatedEntity.h:100
static RPropertyTypeId PropertyExtensionPoint2Y
Definition: RDimRotatedEntity.h:85
static RPropertyTypeId PropertyArrow1Flipped
Definition: RDimRotatedEntity.h:70
virtual void print(QDebug dbg) const
Stream operator for QDebug.
Definition: RDimLinearEntity.cpp:172
static RPropertyTypeId PropertyLinetype
Definition: RDimRotatedEntity.h:50
static RPropertyTypeId PropertyDimScale
Definition: RDimRotatedEntity.h:66
virtual QPair< QVariant, RPropertyAttributes > getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false)
Definition: RDimLinearEntity.cpp:142
static RPropertyTypeId PropertyLineweight
Definition: RDimRotatedEntity.h:52
static RPropertyTypeId PropertyExtLineFix
Definition: RDimRotatedEntity.h:73
Q_DECLARE_METATYPE(RMath *)
void setData(RDimRotatedData &d)
Definition: RDimRotatedEntity.h:114
double getRotation() const
Definition: RDimRotatedEntity.h:142
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RDimRotatedData.h:36
static RPropertyTypeId PropertyProtected
Definition: RDimRotatedEntity.h:45
static QSet< RPropertyTypeId > getStaticPropertyTypeIds()
Definition: RDimRotatedEntity.h:96
static RPropertyTypeId PropertyLinearFactor
Definition: RDimRotatedEntity.h:65
static RPropertyTypeId PropertyExtensionPoint2Z
Definition: RDimRotatedEntity.h:86
virtual RDimRotatedData & getData()
Definition: RDimRotatedEntity.h:110
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RPropertyTypeId.h:59
Abstract base class for exporters.
Definition: RExporter.h:72
static RPropertyTypeId PropertyExtensionPoint1Y
Definition: RDimRotatedEntity.h:81
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition: RDocument.h:72
static RPropertyTypeId PropertyDisplayedColor
Definition: RDimRotatedEntity.h:54
virtual const RDimRotatedData & getData() const
Definition: RDimRotatedEntity.h:118
RVector getExtensionPoint2() const
Definition: RDimRotatedEntity.h:134
static RPropertyTypeId PropertyDimensionLinePosY
Definition: RDimRotatedEntity.h:77
static RPropertyTypeId PropertyLinetypeScale
Definition: RDimRotatedEntity.h:51
static RPropertyTypeId PropertyAngle
Definition: RDimRotatedEntity.h:88
Transaction implementation.
Definition: RTransaction.h:74
static RPropertyTypeId PropertyMiddleOfTextY
Definition: RDimRotatedEntity.h:58
static QSet< RPropertyTypeId > getPropertyTypeIds(const std::type_info &classInfo, RPropertyAttributes::Option=RPropertyAttributes::NoOptions)
Gets all property type IDs that where registered for the given class.
Definition: RPropertyTypeId.cpp:273
static RPropertyTypeId PropertyMiddleOfTextZ
Definition: RDimRotatedEntity.h:59
virtual bool setProperty(RPropertyTypeId propertyTypeId, const QVariant &value, RTransaction *transaction=NULL)
Sets the given property to the given value.
Definition: RDimLinearEntity.cpp:119
static RPropertyTypeId PropertyText
Definition: RDimRotatedEntity.h:60
static RPropertyTypeId PropertyColor
Definition: RDimRotatedEntity.h:53
static RPropertyTypeId PropertyDimensionLinePosZ
Definition: RDimRotatedEntity.h:78
Linear dimension entity base class.
Definition: RDimLinearEntity.h:38
static RPropertyTypeId PropertyCustom
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RDimRotatedEntity.h:43
static RPropertyTypeId PropertyArrow2Flipped
Definition: RDimRotatedEntity.h:71