RDimAlignedEntity
Class in Entity Module
Header: #include <src/entity/RDimAlignedEntity.h>
Inherits: RDimLinearEntity
Description
Section titled “Description”Aligned 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”RDimAlignedEntity(RDocument *document, const RDimAlignedData &data) |
|
| virtual | ~RDimAlignedEntity() |
| virtual QSharedPointer< RObject > | clone() const |
| QSharedPointer< RDimAlignedEntity > | cloneToDimAlignedEntity() const |
| double | getAngle() const |
| virtual RDimAlignedData & | getData() |
| virtual const RDimAlignedData & | getData() const |
| RVector | getExtensionPoint1() const |
| RVector | getExtensionPoint2() const |
| virtual QPair< QVariant, RPropertyAttributes > | getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false) |
| void | setData(RDimAlignedData &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. |
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”| RDimAlignedData | data |
Member Documentation
Section titled “Member Documentation”RDimAlignedEntity
Section titled “RDimAlignedEntity”RDimAlignedEntity::RDimAlignedEntity(RDocument *document, const RDimAlignedData &data)~RDimAlignedEntity
Section titled “~RDimAlignedEntity”virtual RDimAlignedEntity::~RDimAlignedEntity()virtual
virtual QSharedPointer< RObject > RDimAlignedEntity::clone() constvirtual inline const
Reimplemented from clone.
cloneToDimAlignedEntity
Section titled “cloneToDimAlignedEntity”QSharedPointer< RDimAlignedEntity > RDimAlignedEntity::cloneToDimAlignedEntity() constinline const
getAngle
Section titled “getAngle”double RDimAlignedEntity::getAngle() constinline const
getData
Section titled “getData”virtual RDimAlignedData & RDimAlignedEntity::getData()virtual inline
Returns: Reference to the data object of the entity.
Reimplemented from getData.
getData
Section titled “getData”virtual const RDimAlignedData & RDimAlignedEntity::getData() constvirtual inline const
Returns: Const reference to the data object of the entity.
Reimplemented from getData.
getExtensionPoint1
Section titled “getExtensionPoint1”RVector RDimAlignedEntity::getExtensionPoint1() constinline const
getExtensionPoint2
Section titled “getExtensionPoint2”RVector RDimAlignedEntity::getExtensionPoint2() constinline const
getProperty
Section titled “getProperty”virtual QPair< QVariant, RPropertyAttributes > RDimAlignedEntity::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.
setData
Section titled “setData”void RDimAlignedEntity::setData(RDimAlignedData &d)inline
setExtensionPoint1
Section titled “setExtensionPoint1”void RDimAlignedEntity::setExtensionPoint1(const RVector &p)inline
setExtensionPoint2
Section titled “setExtensionPoint2”void RDimAlignedEntity::setExtensionPoint2(const RVector &p)inline
setProperty
Section titled “setProperty”virtual bool RDimAlignedEntity::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.
getRtti
Section titled “getRtti”static RS::EntityType RDimAlignedEntity::getRtti()static inline
getStaticPropertyTypeIds
Section titled “getStaticPropertyTypeIds”static QSet< RPropertyTypeId > RDimAlignedEntity::getStaticPropertyTypeIds()static inline
static void RDimAlignedEntity::init()static
PropertyArchTick
Section titled “PropertyArchTick”static RPropertyTypeId RDimAlignedEntity::PropertyArchTickstatic
PropertyArrow1Flipped
Section titled “PropertyArrow1Flipped”static RPropertyTypeId RDimAlignedEntity::PropertyArrow1Flippedstatic
PropertyArrow2Flipped
Section titled “PropertyArrow2Flipped”static RPropertyTypeId RDimAlignedEntity::PropertyArrow2Flippedstatic
PropertyAutoTextPos
Section titled “PropertyAutoTextPos”static RPropertyTypeId RDimAlignedEntity::PropertyAutoTextPosstatic
PropertyBlock
Section titled “PropertyBlock”static RPropertyTypeId RDimAlignedEntity::PropertyBlockstatic
PropertyColor
Section titled “PropertyColor”static RPropertyTypeId RDimAlignedEntity::PropertyColorstatic
PropertyCustom
Section titled “PropertyCustom”static RPropertyTypeId RDimAlignedEntity::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 RDimAlignedEntity::PropertyDimaszstatic
PropertyDimBlockName
Section titled “PropertyDimBlockName”static RPropertyTypeId RDimAlignedEntity::PropertyDimBlockNamestatic
PropertyDimclrt
Section titled “PropertyDimclrt”static RPropertyTypeId RDimAlignedEntity::PropertyDimclrtstatic
PropertyDimdec
Section titled “PropertyDimdec”static RPropertyTypeId RDimAlignedEntity::PropertyDimdecstatic
PropertyDimdsep
Section titled “PropertyDimdsep”static RPropertyTypeId RDimAlignedEntity::PropertyDimdsepstatic
PropertyDimensionLinePosX
Section titled “PropertyDimensionLinePosX”static RPropertyTypeId RDimAlignedEntity::PropertyDimensionLinePosXstatic
PropertyDimensionLinePosY
Section titled “PropertyDimensionLinePosY”static RPropertyTypeId RDimAlignedEntity::PropertyDimensionLinePosYstatic
PropertyDimensionLinePosZ
Section titled “PropertyDimensionLinePosZ”static RPropertyTypeId RDimAlignedEntity::PropertyDimensionLinePosZstatic
PropertyDimexe
Section titled “PropertyDimexe”static RPropertyTypeId RDimAlignedEntity::PropertyDimexestatic
PropertyDimexo
Section titled “PropertyDimexo”static RPropertyTypeId RDimAlignedEntity::PropertyDimexostatic
PropertyDimgap
Section titled “PropertyDimgap”static RPropertyTypeId RDimAlignedEntity::PropertyDimgapstatic
PropertyDimlfac
Section titled “PropertyDimlfac”static RPropertyTypeId RDimAlignedEntity::PropertyDimlfacstatic
PropertyDimlunit
Section titled “PropertyDimlunit”static RPropertyTypeId RDimAlignedEntity::PropertyDimlunitstatic
PropertyDimscale
Section titled “PropertyDimscale”static RPropertyTypeId RDimAlignedEntity::PropertyDimscalestatic
PropertyDimtad
Section titled “PropertyDimtad”static RPropertyTypeId RDimAlignedEntity::PropertyDimtadstatic
PropertyDimtih
Section titled “PropertyDimtih”static RPropertyTypeId RDimAlignedEntity::PropertyDimtihstatic
PropertyDimtsz
Section titled “PropertyDimtsz”static RPropertyTypeId RDimAlignedEntity::PropertyDimtszstatic
PropertyDimtxt
Section titled “PropertyDimtxt”static RPropertyTypeId RDimAlignedEntity::PropertyDimtxtstatic
PropertyDimzin
Section titled “PropertyDimzin”static RPropertyTypeId RDimAlignedEntity::PropertyDimzinstatic
PropertyDisplayedColor
Section titled “PropertyDisplayedColor”static RPropertyTypeId RDimAlignedEntity::PropertyDisplayedColorstatic
PropertyDrawOrder
Section titled “PropertyDrawOrder”static RPropertyTypeId RDimAlignedEntity::PropertyDrawOrderstatic
PropertyExtensionPoint1X
Section titled “PropertyExtensionPoint1X”static RPropertyTypeId RDimAlignedEntity::PropertyExtensionPoint1Xstatic
PropertyExtensionPoint1Y
Section titled “PropertyExtensionPoint1Y”static RPropertyTypeId RDimAlignedEntity::PropertyExtensionPoint1Ystatic
PropertyExtensionPoint1Z
Section titled “PropertyExtensionPoint1Z”static RPropertyTypeId RDimAlignedEntity::PropertyExtensionPoint1Zstatic
PropertyExtensionPoint2X
Section titled “PropertyExtensionPoint2X”static RPropertyTypeId RDimAlignedEntity::PropertyExtensionPoint2Xstatic
PropertyExtensionPoint2Y
Section titled “PropertyExtensionPoint2Y”static RPropertyTypeId RDimAlignedEntity::PropertyExtensionPoint2Ystatic
PropertyExtensionPoint2Z
Section titled “PropertyExtensionPoint2Z”static RPropertyTypeId RDimAlignedEntity::PropertyExtensionPoint2Zstatic
PropertyExtLineFix
Section titled “PropertyExtLineFix”static RPropertyTypeId RDimAlignedEntity::PropertyExtLineFixstatic
PropertyExtLineFixLength
Section titled “PropertyExtLineFixLength”static RPropertyTypeId RDimAlignedEntity::PropertyExtLineFixLengthstatic
PropertyFontName
Section titled “PropertyFontName”static RPropertyTypeId RDimAlignedEntity::PropertyFontNamestatic
PropertyHandle
Section titled “PropertyHandle”static RPropertyTypeId RDimAlignedEntity::PropertyHandlestatic
PropertyLayer
Section titled “PropertyLayer”static RPropertyTypeId RDimAlignedEntity::PropertyLayerstatic
PropertyLinetype
Section titled “PropertyLinetype”static RPropertyTypeId RDimAlignedEntity::PropertyLinetypestatic
PropertyLinetypeScale
Section titled “PropertyLinetypeScale”static RPropertyTypeId RDimAlignedEntity::PropertyLinetypeScalestatic
PropertyLineweight
Section titled “PropertyLineweight”static RPropertyTypeId RDimAlignedEntity::PropertyLineweightstatic
PropertyLowerTolerance
Section titled “PropertyLowerTolerance”static RPropertyTypeId RDimAlignedEntity::PropertyLowerTolerancestatic
PropertyMeasuredValue
Section titled “PropertyMeasuredValue”static RPropertyTypeId RDimAlignedEntity::PropertyMeasuredValuestatic
PropertyMiddleOfTextX
Section titled “PropertyMiddleOfTextX”static RPropertyTypeId RDimAlignedEntity::PropertyMiddleOfTextXstatic
PropertyMiddleOfTextY
Section titled “PropertyMiddleOfTextY”static RPropertyTypeId RDimAlignedEntity::PropertyMiddleOfTextYstatic
PropertyMiddleOfTextZ
Section titled “PropertyMiddleOfTextZ”static RPropertyTypeId RDimAlignedEntity::PropertyMiddleOfTextZstatic
PropertyProtected
Section titled “PropertyProtected”static RPropertyTypeId RDimAlignedEntity::PropertyProtectedstatic
PropertyText
Section titled “PropertyText”static RPropertyTypeId RDimAlignedEntity::PropertyTextstatic
PropertyType
Section titled “PropertyType”static RPropertyTypeId RDimAlignedEntity::PropertyTypestatic
PropertyUpperTolerance
Section titled “PropertyUpperTolerance”static RPropertyTypeId RDimAlignedEntity::PropertyUpperTolerancestatic
PropertyWorkingSet
Section titled “PropertyWorkingSet”static RPropertyTypeId RDimAlignedEntity::PropertyWorkingSetstatic
virtual void RDimAlignedEntity::print(QDebug dbg) constvirtual const protected
Stream operator for QDebug.
Reimplemented from print.
RDimAlignedData RDimAlignedEntity::dataprotected