RDimOrdinateEntity
Class in Entity Module
Header: #include <src/entity/RDimOrdinateEntity.h>
Inherits: RDimensionEntity
Description
Section titled “Description”Ordinate 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”RDimOrdinateEntity(RDocument *document, const RDimOrdinateData &data) |
|
| virtual | ~RDimOrdinateEntity() |
| virtual QSharedPointer< RObject > | clone() const |
| QSharedPointer< RDimOrdinateEntity > | cloneToDimOrdinateEntity() const |
| virtual RDimOrdinateData & | getData() |
| virtual const RDimOrdinateData & | getData() const |
| RVector | getDefiningPoint() const |
| RVector | getLeaderEndPoint() const |
| virtual QPair< QVariant, RPropertyAttributes > | getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false) |
| bool | isMeasuringXAxis() const |
| void | setData(RDimOrdinateData &d) |
| void | setDefiningPoint(const RVector &p) |
| void | setLeaderEndPoint(const RVector &p) |
| void | setMeasuringXAxis() |
| void | setMeasuringYAxis() |
| 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”| RDimOrdinateData | data |
Member Documentation
Section titled “Member Documentation”RDimOrdinateEntity
Section titled “RDimOrdinateEntity”RDimOrdinateEntity::RDimOrdinateEntity(RDocument *document, const RDimOrdinateData &data)~RDimOrdinateEntity
Section titled “~RDimOrdinateEntity”virtual RDimOrdinateEntity::~RDimOrdinateEntity()virtual
virtual QSharedPointer< RObject > RDimOrdinateEntity::clone() constvirtual inline const
Reimplemented from clone.
cloneToDimOrdinateEntity
Section titled “cloneToDimOrdinateEntity”QSharedPointer< RDimOrdinateEntity > RDimOrdinateEntity::cloneToDimOrdinateEntity() constinline const
getData
Section titled “getData”virtual RDimOrdinateData & RDimOrdinateEntity::getData()virtual inline
Returns: Reference to the data object of the entity.
Reimplemented from getData.
getData
Section titled “getData”virtual const RDimOrdinateData & RDimOrdinateEntity::getData() constvirtual inline const
Returns: Const reference to the data object of the entity.
Reimplemented from getData.
getDefiningPoint
Section titled “getDefiningPoint”RVector RDimOrdinateEntity::getDefiningPoint() constinline const
getLeaderEndPoint
Section titled “getLeaderEndPoint”RVector RDimOrdinateEntity::getLeaderEndPoint() constinline const
getProperty
Section titled “getProperty”virtual QPair< QVariant, RPropertyAttributes > RDimOrdinateEntity::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.
isMeasuringXAxis
Section titled “isMeasuringXAxis”bool RDimOrdinateEntity::isMeasuringXAxis() constinline const
setData
Section titled “setData”void RDimOrdinateEntity::setData(RDimOrdinateData &d)inline
setDefiningPoint
Section titled “setDefiningPoint”void RDimOrdinateEntity::setDefiningPoint(const RVector &p)inline
setLeaderEndPoint
Section titled “setLeaderEndPoint”void RDimOrdinateEntity::setLeaderEndPoint(const RVector &p)inline
setMeasuringXAxis
Section titled “setMeasuringXAxis”void RDimOrdinateEntity::setMeasuringXAxis()inline
setMeasuringYAxis
Section titled “setMeasuringYAxis”void RDimOrdinateEntity::setMeasuringYAxis()inline
setProperty
Section titled “setProperty”virtual bool RDimOrdinateEntity::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 RDimOrdinateEntity::getRtti()static inline
getStaticPropertyTypeIds
Section titled “getStaticPropertyTypeIds”static QSet< RPropertyTypeId > RDimOrdinateEntity::getStaticPropertyTypeIds()static inline
static void RDimOrdinateEntity::init()static
PropertyBlock
Section titled “PropertyBlock”static RPropertyTypeId RDimOrdinateEntity::PropertyBlockstatic
PropertyColor
Section titled “PropertyColor”static RPropertyTypeId RDimOrdinateEntity::PropertyColorstatic
PropertyCustom
Section titled “PropertyCustom”static RPropertyTypeId RDimOrdinateEntity::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.
PropertyDefiningPointX
Section titled “PropertyDefiningPointX”static RPropertyTypeId RDimOrdinateEntity::PropertyDefiningPointXstatic
PropertyDefiningPointY
Section titled “PropertyDefiningPointY”static RPropertyTypeId RDimOrdinateEntity::PropertyDefiningPointYstatic
PropertyDefiningPointZ
Section titled “PropertyDefiningPointZ”static RPropertyTypeId RDimOrdinateEntity::PropertyDefiningPointZstatic
PropertyDimBlockName
Section titled “PropertyDimBlockName”static RPropertyTypeId RDimOrdinateEntity::PropertyDimBlockNamestatic
PropertyDimlfac
Section titled “PropertyDimlfac”static RPropertyTypeId RDimOrdinateEntity::PropertyDimlfacstatic
PropertyDimscale
Section titled “PropertyDimscale”static RPropertyTypeId RDimOrdinateEntity::PropertyDimscalestatic
PropertyDisplayedColor
Section titled “PropertyDisplayedColor”static RPropertyTypeId RDimOrdinateEntity::PropertyDisplayedColorstatic
PropertyDrawOrder
Section titled “PropertyDrawOrder”static RPropertyTypeId RDimOrdinateEntity::PropertyDrawOrderstatic
PropertyFontName
Section titled “PropertyFontName”static RPropertyTypeId RDimOrdinateEntity::PropertyFontNamestatic
PropertyHandle
Section titled “PropertyHandle”static RPropertyTypeId RDimOrdinateEntity::PropertyHandlestatic
PropertyLayer
Section titled “PropertyLayer”static RPropertyTypeId RDimOrdinateEntity::PropertyLayerstatic
PropertyLeaderEndPointX
Section titled “PropertyLeaderEndPointX”static RPropertyTypeId RDimOrdinateEntity::PropertyLeaderEndPointXstatic
PropertyLeaderEndPointY
Section titled “PropertyLeaderEndPointY”static RPropertyTypeId RDimOrdinateEntity::PropertyLeaderEndPointYstatic
PropertyLeaderEndPointZ
Section titled “PropertyLeaderEndPointZ”static RPropertyTypeId RDimOrdinateEntity::PropertyLeaderEndPointZstatic
PropertyLinetype
Section titled “PropertyLinetype”static RPropertyTypeId RDimOrdinateEntity::PropertyLinetypestatic
PropertyLinetypeScale
Section titled “PropertyLinetypeScale”static RPropertyTypeId RDimOrdinateEntity::PropertyLinetypeScalestatic
PropertyLineweight
Section titled “PropertyLineweight”static RPropertyTypeId RDimOrdinateEntity::PropertyLineweightstatic
PropertyLowerTolerance
Section titled “PropertyLowerTolerance”static RPropertyTypeId RDimOrdinateEntity::PropertyLowerTolerancestatic
PropertyMeasuredValue
Section titled “PropertyMeasuredValue”static RPropertyTypeId RDimOrdinateEntity::PropertyMeasuredValuestatic
PropertyMiddleOfTextX
Section titled “PropertyMiddleOfTextX”static RPropertyTypeId RDimOrdinateEntity::PropertyMiddleOfTextXstatic
PropertyMiddleOfTextY
Section titled “PropertyMiddleOfTextY”static RPropertyTypeId RDimOrdinateEntity::PropertyMiddleOfTextYstatic
PropertyMiddleOfTextZ
Section titled “PropertyMiddleOfTextZ”static RPropertyTypeId RDimOrdinateEntity::PropertyMiddleOfTextZstatic
PropertyOrdinate
Section titled “PropertyOrdinate”static RPropertyTypeId RDimOrdinateEntity::PropertyOrdinatestatic
PropertyOriginX
Section titled “PropertyOriginX”static RPropertyTypeId RDimOrdinateEntity::PropertyOriginXstatic
PropertyOriginY
Section titled “PropertyOriginY”static RPropertyTypeId RDimOrdinateEntity::PropertyOriginYstatic
PropertyOriginZ
Section titled “PropertyOriginZ”static RPropertyTypeId RDimOrdinateEntity::PropertyOriginZstatic
PropertyProtected
Section titled “PropertyProtected”static RPropertyTypeId RDimOrdinateEntity::PropertyProtectedstatic
PropertyText
Section titled “PropertyText”static RPropertyTypeId RDimOrdinateEntity::PropertyTextstatic
PropertyTextRotation
Section titled “PropertyTextRotation”static RPropertyTypeId RDimOrdinateEntity::PropertyTextRotationstatic
PropertyType
Section titled “PropertyType”static RPropertyTypeId RDimOrdinateEntity::PropertyTypestatic
PropertyUpperTolerance
Section titled “PropertyUpperTolerance”static RPropertyTypeId RDimOrdinateEntity::PropertyUpperTolerancestatic
PropertyWorkingSet
Section titled “PropertyWorkingSet”static RPropertyTypeId RDimOrdinateEntity::PropertyWorkingSetstatic
virtual void RDimOrdinateEntity::print(QDebug dbg) constvirtual const protected
Stream operator for QDebug.
Reimplemented from print.
RDimOrdinateData RDimOrdinateEntity::dataprotected