Skip to content

RDimAlignedEntity

Class in Entity Module
Header: #include <src/entity/RDimAlignedEntity.h>
Inherits: RDimLinearEntity

Aligned dimension entity class.

Scriptable: This class is available in script environments.

Shared Pointer Support: Objects can be used in QSharedPointer.

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 RS::EntityType getRtti()
static QSet< RPropertyTypeId > getStaticPropertyTypeIds()
static void init()
static RPropertyTypeId PropertyArchTick
static RPropertyTypeId PropertyArrow1Flipped
static RPropertyTypeId PropertyArrow2Flipped
static RPropertyTypeId PropertyAutoTextPos
static RPropertyTypeId PropertyBlock
static RPropertyTypeId PropertyColor
static RPropertyTypeId PropertyCustom
static RPropertyTypeId PropertyDimasz
static RPropertyTypeId PropertyDimBlockName
static RPropertyTypeId PropertyDimclrt
static RPropertyTypeId PropertyDimdec
static RPropertyTypeId PropertyDimdsep
static RPropertyTypeId PropertyDimensionLinePosX
static RPropertyTypeId PropertyDimensionLinePosY
static RPropertyTypeId PropertyDimensionLinePosZ
static RPropertyTypeId PropertyDimexe
static RPropertyTypeId PropertyDimexo
static RPropertyTypeId PropertyDimgap
static RPropertyTypeId PropertyDimlfac
static RPropertyTypeId PropertyDimlunit
static RPropertyTypeId PropertyDimscale
static RPropertyTypeId PropertyDimtad
static RPropertyTypeId PropertyDimtih
static RPropertyTypeId PropertyDimtsz
static RPropertyTypeId PropertyDimtxt
static RPropertyTypeId PropertyDimzin
static RPropertyTypeId PropertyDisplayedColor
static RPropertyTypeId PropertyDrawOrder
static RPropertyTypeId PropertyExtensionPoint1X
static RPropertyTypeId PropertyExtensionPoint1Y
static RPropertyTypeId PropertyExtensionPoint1Z
static RPropertyTypeId PropertyExtensionPoint2X
static RPropertyTypeId PropertyExtensionPoint2Y
static RPropertyTypeId PropertyExtensionPoint2Z
static RPropertyTypeId PropertyExtLineFix
static RPropertyTypeId PropertyExtLineFixLength
static RPropertyTypeId PropertyFontName
static RPropertyTypeId PropertyHandle
static RPropertyTypeId PropertyLayer
static RPropertyTypeId PropertyLinetype
static RPropertyTypeId PropertyLinetypeScale
static RPropertyTypeId PropertyLineweight
static RPropertyTypeId PropertyLowerTolerance
static RPropertyTypeId PropertyMeasuredValue
static RPropertyTypeId PropertyMiddleOfTextX
static RPropertyTypeId PropertyMiddleOfTextY
static RPropertyTypeId PropertyMiddleOfTextZ
static RPropertyTypeId PropertyProtected
static RPropertyTypeId PropertyText
static RPropertyTypeId PropertyType
static RPropertyTypeId PropertyUpperTolerance
static RPropertyTypeId PropertyWorkingSet
virtual void print(QDebug dbg) const
Stream operator for QDebug.
RDimAlignedData data

RDimAlignedEntity::RDimAlignedEntity(RDocument *document, const RDimAlignedData &data)

virtual RDimAlignedEntity::~RDimAlignedEntity()

virtual

virtual QSharedPointer< RObject > RDimAlignedEntity::clone() const

virtual inline const

Reimplemented from clone.

QSharedPointer< RDimAlignedEntity > RDimAlignedEntity::cloneToDimAlignedEntity() const

inline const

double RDimAlignedEntity::getAngle() const

inline const

virtual RDimAlignedData & RDimAlignedEntity::getData()

virtual inline

Returns: Reference to the data object of the entity.

Reimplemented from getData.

virtual const RDimAlignedData & RDimAlignedEntity::getData() const

virtual inline const

Returns: Const reference to the data object of the entity.

Reimplemented from getData.

RVector RDimAlignedEntity::getExtensionPoint1() const

inline const

RVector RDimAlignedEntity::getExtensionPoint2() const

inline const

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.

void RDimAlignedEntity::setData(RDimAlignedData &d)

inline

void RDimAlignedEntity::setExtensionPoint1(const RVector &p)

inline

void RDimAlignedEntity::setExtensionPoint2(const RVector &p)

inline

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.

static RS::EntityType RDimAlignedEntity::getRtti()

static inline

static QSet< RPropertyTypeId > RDimAlignedEntity::getStaticPropertyTypeIds()

static inline

static void RDimAlignedEntity::init()

static

static RPropertyTypeId RDimAlignedEntity::PropertyArchTick

static

static RPropertyTypeId RDimAlignedEntity::PropertyArrow1Flipped

static

static RPropertyTypeId RDimAlignedEntity::PropertyArrow2Flipped

static

static RPropertyTypeId RDimAlignedEntity::PropertyAutoTextPos

static

static RPropertyTypeId RDimAlignedEntity::PropertyBlock

static

static RPropertyTypeId RDimAlignedEntity::PropertyColor

static

static RPropertyTypeId RDimAlignedEntity::PropertyCustom

static

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.

static RPropertyTypeId RDimAlignedEntity::PropertyDimasz

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimBlockName

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimclrt

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimdec

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimdsep

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimensionLinePosX

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimensionLinePosY

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimensionLinePosZ

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimexe

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimexo

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimgap

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimlfac

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimlunit

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimscale

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimtad

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimtih

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimtsz

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimtxt

static

static RPropertyTypeId RDimAlignedEntity::PropertyDimzin

static

static RPropertyTypeId RDimAlignedEntity::PropertyDisplayedColor

static

static RPropertyTypeId RDimAlignedEntity::PropertyDrawOrder

static

static RPropertyTypeId RDimAlignedEntity::PropertyExtensionPoint1X

static

static RPropertyTypeId RDimAlignedEntity::PropertyExtensionPoint1Y

static

static RPropertyTypeId RDimAlignedEntity::PropertyExtensionPoint1Z

static

static RPropertyTypeId RDimAlignedEntity::PropertyExtensionPoint2X

static

static RPropertyTypeId RDimAlignedEntity::PropertyExtensionPoint2Y

static

static RPropertyTypeId RDimAlignedEntity::PropertyExtensionPoint2Z

static

static RPropertyTypeId RDimAlignedEntity::PropertyExtLineFix

static

static RPropertyTypeId RDimAlignedEntity::PropertyExtLineFixLength

static

static RPropertyTypeId RDimAlignedEntity::PropertyFontName

static

static RPropertyTypeId RDimAlignedEntity::PropertyHandle

static

static RPropertyTypeId RDimAlignedEntity::PropertyLayer

static

static RPropertyTypeId RDimAlignedEntity::PropertyLinetype

static

static RPropertyTypeId RDimAlignedEntity::PropertyLinetypeScale

static

static RPropertyTypeId RDimAlignedEntity::PropertyLineweight

static

static RPropertyTypeId RDimAlignedEntity::PropertyLowerTolerance

static

static RPropertyTypeId RDimAlignedEntity::PropertyMeasuredValue

static

static RPropertyTypeId RDimAlignedEntity::PropertyMiddleOfTextX

static

static RPropertyTypeId RDimAlignedEntity::PropertyMiddleOfTextY

static

static RPropertyTypeId RDimAlignedEntity::PropertyMiddleOfTextZ

static

static RPropertyTypeId RDimAlignedEntity::PropertyProtected

static

static RPropertyTypeId RDimAlignedEntity::PropertyText

static

static RPropertyTypeId RDimAlignedEntity::PropertyType

static

static RPropertyTypeId RDimAlignedEntity::PropertyUpperTolerance

static

static RPropertyTypeId RDimAlignedEntity::PropertyWorkingSet

static

virtual void RDimAlignedEntity::print(QDebug dbg) const

virtual const protected

Stream operator for QDebug.

Reimplemented from print.

RDimAlignedData RDimAlignedEntity::data

protected