RDimRotatedEntity
Class in Entity Module
Header: #include <src/entity/RDimRotatedEntity.h>
Inherits: RDimLinearEntity
Description
Section titled “Description”Rotated, linear dimension entity class.
Scriptable: This class is available in script environments.
Shared Pointer Support: Objects can be used in QSharedPointer.
Public Functions
Section titled “Public Functions”RDimRotatedEntity(RDocument *document, const RDimRotatedData &data) |
|
| virtual | ~RDimRotatedEntity() |
| virtual QSharedPointer< RObject > | clone() const |
| QSharedPointer< RDimRotatedEntity > | cloneToDimRotatedEntity() const |
| virtual RDimRotatedData & | getData() |
| virtual const RDimRotatedData & | getData() const |
| RVector | getExtensionPoint1() const |
| RVector | getExtensionPoint2() const |
| virtual QPair< QVariant, RPropertyAttributes > | getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false) |
| double | getRotation() const |
| void | setData(RDimRotatedData &d) |
| void | setExtensionPoint1(const RVector &p) |
| void | setExtensionPoint2(const RVector &p) |
| virtual bool | setProperty(RPropertyTypeId propertyTypeId, const QVariant &value, RTransaction *transaction=NULL)Sets the given property to the given value. |
| void | setRotation(double a) |
Static Public Functions
Section titled “Static Public Functions”| static RS::EntityType | getRtti() |
| static QSet< RPropertyTypeId > | getStaticPropertyTypeIds() |
| static void | init() |
Static Public Attributes
Section titled “Static Public Attributes”Protected Functions
Section titled “Protected Functions”| virtual void | print(QDebug dbg) constStream operator for QDebug. |
Protected Attributes
Section titled “Protected Attributes”| RDimRotatedData | data |
Member Documentation
Section titled “Member Documentation”RDimRotatedEntity
Section titled “RDimRotatedEntity”RDimRotatedEntity::RDimRotatedEntity(RDocument *document, const RDimRotatedData &data)~RDimRotatedEntity
Section titled “~RDimRotatedEntity”virtual RDimRotatedEntity::~RDimRotatedEntity()virtual
virtual QSharedPointer< RObject > RDimRotatedEntity::clone() constvirtual inline const
Reimplemented from clone.
cloneToDimRotatedEntity
Section titled “cloneToDimRotatedEntity”QSharedPointer< RDimRotatedEntity > RDimRotatedEntity::cloneToDimRotatedEntity() constinline const
getData
Section titled “getData”virtual RDimRotatedData & RDimRotatedEntity::getData()virtual inline
Returns: Reference to the data object of the entity.
Reimplemented from getData.
getData
Section titled “getData”virtual const RDimRotatedData & RDimRotatedEntity::getData() constvirtual inline const
Returns: Const reference to the data object of the entity.
Reimplemented from getData.
getExtensionPoint1
Section titled “getExtensionPoint1”RVector RDimRotatedEntity::getExtensionPoint1() constinline const
getExtensionPoint2
Section titled “getExtensionPoint2”RVector RDimRotatedEntity::getExtensionPoint2() constinline const
getProperty
Section titled “getProperty”virtual QPair< QVariant, RPropertyAttributes > RDimRotatedEntity::getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false)virtual
Returns: The value and attributes of the given property or an invalid property if this property owner has no property with the given ID.
Reimplemented from getProperty.
getRotation
Section titled “getRotation”double RDimRotatedEntity::getRotation() constinline const
setData
Section titled “setData”void RDimRotatedEntity::setData(RDimRotatedData &d)inline
setExtensionPoint1
Section titled “setExtensionPoint1”void RDimRotatedEntity::setExtensionPoint1(const RVector &p)inline
setExtensionPoint2
Section titled “setExtensionPoint2”void RDimRotatedEntity::setExtensionPoint2(const RVector &p)inline
setProperty
Section titled “setProperty”virtual bool RDimRotatedEntity::setProperty(RPropertyTypeId propertyTypeId, const QVariant &value, RTransaction *transaction=NULL)virtual
Sets the given property to the given value.
If this property owner does not know a property with that ID, it is up to the property owner what happens. The property might be added into a list of dynamic properties or dropped.
Returns: True if the property owner was modified in any way, false otherwise.
Reimplemented from setProperty.
setRotation
Section titled “setRotation”void RDimRotatedEntity::setRotation(double a)inline
getRtti
Section titled “getRtti”static RS::EntityType RDimRotatedEntity::getRtti()static inline
getStaticPropertyTypeIds
Section titled “getStaticPropertyTypeIds”static QSet< RPropertyTypeId > RDimRotatedEntity::getStaticPropertyTypeIds()static inline
static void RDimRotatedEntity::init()static
PropertyAngle
Section titled “PropertyAngle”static RPropertyTypeId RDimRotatedEntity::PropertyAnglestatic
PropertyArchTick
Section titled “PropertyArchTick”static RPropertyTypeId RDimRotatedEntity::PropertyArchTickstatic
PropertyArrow1Flipped
Section titled “PropertyArrow1Flipped”static RPropertyTypeId RDimRotatedEntity::PropertyArrow1Flippedstatic
PropertyArrow2Flipped
Section titled “PropertyArrow2Flipped”static RPropertyTypeId RDimRotatedEntity::PropertyArrow2Flippedstatic
PropertyAutoTextPos
Section titled “PropertyAutoTextPos”static RPropertyTypeId RDimRotatedEntity::PropertyAutoTextPosstatic
PropertyBlock
Section titled “PropertyBlock”static RPropertyTypeId RDimRotatedEntity::PropertyBlockstatic
PropertyColor
Section titled “PropertyColor”static RPropertyTypeId RDimRotatedEntity::PropertyColorstatic
PropertyCustom
Section titled “PropertyCustom”static RPropertyTypeId RDimRotatedEntity::PropertyCustomstatic
All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD.
PropertyDimasz
Section titled “PropertyDimasz”static RPropertyTypeId RDimRotatedEntity::PropertyDimaszstatic
PropertyDimBlockName
Section titled “PropertyDimBlockName”static RPropertyTypeId RDimRotatedEntity::PropertyDimBlockNamestatic
PropertyDimclrt
Section titled “PropertyDimclrt”static RPropertyTypeId RDimRotatedEntity::PropertyDimclrtstatic
PropertyDimdec
Section titled “PropertyDimdec”static RPropertyTypeId RDimRotatedEntity::PropertyDimdecstatic
PropertyDimdsep
Section titled “PropertyDimdsep”static RPropertyTypeId RDimRotatedEntity::PropertyDimdsepstatic
PropertyDimensionLinePosX
Section titled “PropertyDimensionLinePosX”static RPropertyTypeId RDimRotatedEntity::PropertyDimensionLinePosXstatic
PropertyDimensionLinePosY
Section titled “PropertyDimensionLinePosY”static RPropertyTypeId RDimRotatedEntity::PropertyDimensionLinePosYstatic
PropertyDimensionLinePosZ
Section titled “PropertyDimensionLinePosZ”static RPropertyTypeId RDimRotatedEntity::PropertyDimensionLinePosZstatic
PropertyDimexe
Section titled “PropertyDimexe”static RPropertyTypeId RDimRotatedEntity::PropertyDimexestatic
PropertyDimexo
Section titled “PropertyDimexo”static RPropertyTypeId RDimRotatedEntity::PropertyDimexostatic
PropertyDimgap
Section titled “PropertyDimgap”static RPropertyTypeId RDimRotatedEntity::PropertyDimgapstatic
PropertyDimlfac
Section titled “PropertyDimlfac”static RPropertyTypeId RDimRotatedEntity::PropertyDimlfacstatic
PropertyDimlunit
Section titled “PropertyDimlunit”static RPropertyTypeId RDimRotatedEntity::PropertyDimlunitstatic
PropertyDimscale
Section titled “PropertyDimscale”static RPropertyTypeId RDimRotatedEntity::PropertyDimscalestatic
PropertyDimtad
Section titled “PropertyDimtad”static RPropertyTypeId RDimRotatedEntity::PropertyDimtadstatic
PropertyDimtih
Section titled “PropertyDimtih”static RPropertyTypeId RDimRotatedEntity::PropertyDimtihstatic
PropertyDimtsz
Section titled “PropertyDimtsz”static RPropertyTypeId RDimRotatedEntity::PropertyDimtszstatic
PropertyDimtxt
Section titled “PropertyDimtxt”static RPropertyTypeId RDimRotatedEntity::PropertyDimtxtstatic
PropertyDimzin
Section titled “PropertyDimzin”static RPropertyTypeId RDimRotatedEntity::PropertyDimzinstatic
PropertyDisplayedColor
Section titled “PropertyDisplayedColor”static RPropertyTypeId RDimRotatedEntity::PropertyDisplayedColorstatic
PropertyDrawOrder
Section titled “PropertyDrawOrder”static RPropertyTypeId RDimRotatedEntity::PropertyDrawOrderstatic
PropertyExtensionPoint1X
Section titled “PropertyExtensionPoint1X”static RPropertyTypeId RDimRotatedEntity::PropertyExtensionPoint1Xstatic
PropertyExtensionPoint1Y
Section titled “PropertyExtensionPoint1Y”static RPropertyTypeId RDimRotatedEntity::PropertyExtensionPoint1Ystatic
PropertyExtensionPoint1Z
Section titled “PropertyExtensionPoint1Z”static RPropertyTypeId RDimRotatedEntity::PropertyExtensionPoint1Zstatic
PropertyExtensionPoint2X
Section titled “PropertyExtensionPoint2X”static RPropertyTypeId RDimRotatedEntity::PropertyExtensionPoint2Xstatic
PropertyExtensionPoint2Y
Section titled “PropertyExtensionPoint2Y”static RPropertyTypeId RDimRotatedEntity::PropertyExtensionPoint2Ystatic
PropertyExtensionPoint2Z
Section titled “PropertyExtensionPoint2Z”static RPropertyTypeId RDimRotatedEntity::PropertyExtensionPoint2Zstatic
PropertyExtLineFix
Section titled “PropertyExtLineFix”static RPropertyTypeId RDimRotatedEntity::PropertyExtLineFixstatic
PropertyExtLineFixLength
Section titled “PropertyExtLineFixLength”static RPropertyTypeId RDimRotatedEntity::PropertyExtLineFixLengthstatic
PropertyFontName
Section titled “PropertyFontName”static RPropertyTypeId RDimRotatedEntity::PropertyFontNamestatic
PropertyHandle
Section titled “PropertyHandle”static RPropertyTypeId RDimRotatedEntity::PropertyHandlestatic
PropertyLayer
Section titled “PropertyLayer”static RPropertyTypeId RDimRotatedEntity::PropertyLayerstatic
PropertyLinetype
Section titled “PropertyLinetype”static RPropertyTypeId RDimRotatedEntity::PropertyLinetypestatic
PropertyLinetypeScale
Section titled “PropertyLinetypeScale”static RPropertyTypeId RDimRotatedEntity::PropertyLinetypeScalestatic
PropertyLineweight
Section titled “PropertyLineweight”static RPropertyTypeId RDimRotatedEntity::PropertyLineweightstatic
PropertyLowerTolerance
Section titled “PropertyLowerTolerance”static RPropertyTypeId RDimRotatedEntity::PropertyLowerTolerancestatic
PropertyMeasuredValue
Section titled “PropertyMeasuredValue”static RPropertyTypeId RDimRotatedEntity::PropertyMeasuredValuestatic
PropertyMiddleOfTextX
Section titled “PropertyMiddleOfTextX”static RPropertyTypeId RDimRotatedEntity::PropertyMiddleOfTextXstatic
PropertyMiddleOfTextY
Section titled “PropertyMiddleOfTextY”static RPropertyTypeId RDimRotatedEntity::PropertyMiddleOfTextYstatic
PropertyMiddleOfTextZ
Section titled “PropertyMiddleOfTextZ”static RPropertyTypeId RDimRotatedEntity::PropertyMiddleOfTextZstatic
PropertyProtected
Section titled “PropertyProtected”static RPropertyTypeId RDimRotatedEntity::PropertyProtectedstatic
PropertyText
Section titled “PropertyText”static RPropertyTypeId RDimRotatedEntity::PropertyTextstatic
PropertyType
Section titled “PropertyType”static RPropertyTypeId RDimRotatedEntity::PropertyTypestatic
PropertyUpperTolerance
Section titled “PropertyUpperTolerance”static RPropertyTypeId RDimRotatedEntity::PropertyUpperTolerancestatic
PropertyWorkingSet
Section titled “PropertyWorkingSet”static RPropertyTypeId RDimRotatedEntity::PropertyWorkingSetstatic
virtual void RDimRotatedEntity::print(QDebug dbg) constvirtual const protected
Stream operator for QDebug.
Reimplemented from print.
RDimRotatedData RDimRotatedEntity::dataprotected