RDimDiametricEntity
Class in Entity Module
Header: #include <src/entity/RDimDiametricEntity.h>
Inherits: RDimensionEntity
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”RDimDiametricEntity(RDocument *document, const RDimDiametricData &data) |
|
| virtual | ~RDimDiametricEntity() |
| virtual QSharedPointer< RObject > | clone() const |
| QSharedPointer< RDimDiametricEntity > | cloneToDimDiametricEntity() const |
| RVector | getChordPoint() const |
| virtual RDimDiametricData & | getData() |
| virtual const RDimDiametricData & | getData() const |
| RVector | getFarChordPoint() const |
| virtual QPair< QVariant, RPropertyAttributes > | getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false) |
| void | setChordPoint(const RVector &p) |
| void | setData(RDimDiametricData &d) |
| void | setFarChordPoint(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”| RDimDiametricData | data |
Member Documentation
Section titled “Member Documentation”RDimDiametricEntity
Section titled “RDimDiametricEntity”RDimDiametricEntity::RDimDiametricEntity(RDocument *document, const RDimDiametricData &data)~RDimDiametricEntity
Section titled “~RDimDiametricEntity”virtual RDimDiametricEntity::~RDimDiametricEntity()virtual
virtual QSharedPointer< RObject > RDimDiametricEntity::clone() constvirtual inline const
Reimplemented from clone.
cloneToDimDiametricEntity
Section titled “cloneToDimDiametricEntity”QSharedPointer< RDimDiametricEntity > RDimDiametricEntity::cloneToDimDiametricEntity() constinline const
getChordPoint
Section titled “getChordPoint”RVector RDimDiametricEntity::getChordPoint() constinline const
getData
Section titled “getData”virtual RDimDiametricData & RDimDiametricEntity::getData()virtual inline
Returns: Reference to the data object of the entity.
Reimplemented from getData.
getData
Section titled “getData”virtual const RDimDiametricData & RDimDiametricEntity::getData() constvirtual inline const
Returns: Const reference to the data object of the entity.
Reimplemented from getData.
getFarChordPoint
Section titled “getFarChordPoint”RVector RDimDiametricEntity::getFarChordPoint() constinline const
getProperty
Section titled “getProperty”virtual QPair< QVariant, RPropertyAttributes > RDimDiametricEntity::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.
setChordPoint
Section titled “setChordPoint”void RDimDiametricEntity::setChordPoint(const RVector &p)inline
setData
Section titled “setData”void RDimDiametricEntity::setData(RDimDiametricData &d)inline
setFarChordPoint
Section titled “setFarChordPoint”void RDimDiametricEntity::setFarChordPoint(const RVector &p)inline
setProperty
Section titled “setProperty”virtual bool RDimDiametricEntity::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 RDimDiametricEntity::getRtti()static inline
getStaticPropertyTypeIds
Section titled “getStaticPropertyTypeIds”static QSet< RPropertyTypeId > RDimDiametricEntity::getStaticPropertyTypeIds()static inline
static void RDimDiametricEntity::init()static
PropertyArchTick
Section titled “PropertyArchTick”static RPropertyTypeId RDimDiametricEntity::PropertyArchTickstatic
PropertyArrow1Flipped
Section titled “PropertyArrow1Flipped”static RPropertyTypeId RDimDiametricEntity::PropertyArrow1Flippedstatic
PropertyArrow2Flipped
Section titled “PropertyArrow2Flipped”static RPropertyTypeId RDimDiametricEntity::PropertyArrow2Flippedstatic
PropertyAutoTextPos
Section titled “PropertyAutoTextPos”static RPropertyTypeId RDimDiametricEntity::PropertyAutoTextPosstatic
PropertyBlock
Section titled “PropertyBlock”static RPropertyTypeId RDimDiametricEntity::PropertyBlockstatic
PropertyChordPointX
Section titled “PropertyChordPointX”static RPropertyTypeId RDimDiametricEntity::PropertyChordPointXstatic
PropertyChordPointY
Section titled “PropertyChordPointY”static RPropertyTypeId RDimDiametricEntity::PropertyChordPointYstatic
PropertyChordPointZ
Section titled “PropertyChordPointZ”static RPropertyTypeId RDimDiametricEntity::PropertyChordPointZstatic
PropertyColor
Section titled “PropertyColor”static RPropertyTypeId RDimDiametricEntity::PropertyColorstatic
PropertyCustom
Section titled “PropertyCustom”static RPropertyTypeId RDimDiametricEntity::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 RDimDiametricEntity::PropertyDimaszstatic
PropertyDimBlockName
Section titled “PropertyDimBlockName”static RPropertyTypeId RDimDiametricEntity::PropertyDimBlockNamestatic
PropertyDimclrt
Section titled “PropertyDimclrt”static RPropertyTypeId RDimDiametricEntity::PropertyDimclrtstatic
PropertyDimdec
Section titled “PropertyDimdec”static RPropertyTypeId RDimDiametricEntity::PropertyDimdecstatic
PropertyDimdsep
Section titled “PropertyDimdsep”static RPropertyTypeId RDimDiametricEntity::PropertyDimdsepstatic
PropertyDimexe
Section titled “PropertyDimexe”static RPropertyTypeId RDimDiametricEntity::PropertyDimexestatic
PropertyDimexo
Section titled “PropertyDimexo”static RPropertyTypeId RDimDiametricEntity::PropertyDimexostatic
PropertyDimgap
Section titled “PropertyDimgap”static RPropertyTypeId RDimDiametricEntity::PropertyDimgapstatic
PropertyDimlfac
Section titled “PropertyDimlfac”static RPropertyTypeId RDimDiametricEntity::PropertyDimlfacstatic
PropertyDimlunit
Section titled “PropertyDimlunit”static RPropertyTypeId RDimDiametricEntity::PropertyDimlunitstatic
PropertyDimscale
Section titled “PropertyDimscale”static RPropertyTypeId RDimDiametricEntity::PropertyDimscalestatic
PropertyDimtad
Section titled “PropertyDimtad”static RPropertyTypeId RDimDiametricEntity::PropertyDimtadstatic
PropertyDimtih
Section titled “PropertyDimtih”static RPropertyTypeId RDimDiametricEntity::PropertyDimtihstatic
PropertyDimtsz
Section titled “PropertyDimtsz”static RPropertyTypeId RDimDiametricEntity::PropertyDimtszstatic
PropertyDimtxt
Section titled “PropertyDimtxt”static RPropertyTypeId RDimDiametricEntity::PropertyDimtxtstatic
PropertyDimzin
Section titled “PropertyDimzin”static RPropertyTypeId RDimDiametricEntity::PropertyDimzinstatic
PropertyDisplayedColor
Section titled “PropertyDisplayedColor”static RPropertyTypeId RDimDiametricEntity::PropertyDisplayedColorstatic
PropertyDrawOrder
Section titled “PropertyDrawOrder”static RPropertyTypeId RDimDiametricEntity::PropertyDrawOrderstatic
PropertyExtLineFix
Section titled “PropertyExtLineFix”static RPropertyTypeId RDimDiametricEntity::PropertyExtLineFixstatic
PropertyExtLineFixLength
Section titled “PropertyExtLineFixLength”static RPropertyTypeId RDimDiametricEntity::PropertyExtLineFixLengthstatic
PropertyFarChordPointX
Section titled “PropertyFarChordPointX”static RPropertyTypeId RDimDiametricEntity::PropertyFarChordPointXstatic
PropertyFarChordPointY
Section titled “PropertyFarChordPointY”static RPropertyTypeId RDimDiametricEntity::PropertyFarChordPointYstatic
PropertyFarChordPointZ
Section titled “PropertyFarChordPointZ”static RPropertyTypeId RDimDiametricEntity::PropertyFarChordPointZstatic
PropertyFontName
Section titled “PropertyFontName”static RPropertyTypeId RDimDiametricEntity::PropertyFontNamestatic
PropertyHandle
Section titled “PropertyHandle”static RPropertyTypeId RDimDiametricEntity::PropertyHandlestatic
PropertyLayer
Section titled “PropertyLayer”static RPropertyTypeId RDimDiametricEntity::PropertyLayerstatic
PropertyLinetype
Section titled “PropertyLinetype”static RPropertyTypeId RDimDiametricEntity::PropertyLinetypestatic
PropertyLinetypeScale
Section titled “PropertyLinetypeScale”static RPropertyTypeId RDimDiametricEntity::PropertyLinetypeScalestatic
PropertyLineweight
Section titled “PropertyLineweight”static RPropertyTypeId RDimDiametricEntity::PropertyLineweightstatic
PropertyLowerTolerance
Section titled “PropertyLowerTolerance”static RPropertyTypeId RDimDiametricEntity::PropertyLowerTolerancestatic
PropertyMeasuredValue
Section titled “PropertyMeasuredValue”static RPropertyTypeId RDimDiametricEntity::PropertyMeasuredValuestatic
PropertyMiddleOfTextX
Section titled “PropertyMiddleOfTextX”static RPropertyTypeId RDimDiametricEntity::PropertyMiddleOfTextXstatic
PropertyMiddleOfTextY
Section titled “PropertyMiddleOfTextY”static RPropertyTypeId RDimDiametricEntity::PropertyMiddleOfTextYstatic
PropertyMiddleOfTextZ
Section titled “PropertyMiddleOfTextZ”static RPropertyTypeId RDimDiametricEntity::PropertyMiddleOfTextZstatic
PropertyProtected
Section titled “PropertyProtected”static RPropertyTypeId RDimDiametricEntity::PropertyProtectedstatic
PropertyText
Section titled “PropertyText”static RPropertyTypeId RDimDiametricEntity::PropertyTextstatic
PropertyType
Section titled “PropertyType”static RPropertyTypeId RDimDiametricEntity::PropertyTypestatic
PropertyUpperTolerance
Section titled “PropertyUpperTolerance”static RPropertyTypeId RDimDiametricEntity::PropertyUpperTolerancestatic
PropertyWorkingSet
Section titled “PropertyWorkingSet”static RPropertyTypeId RDimDiametricEntity::PropertyWorkingSetstatic
virtual void RDimDiametricEntity::print(QDebug dbg) constvirtual const protected
Stream operator for QDebug.
Reimplemented from print.
RDimDiametricData RDimDiametricEntity::dataprotected