Skip to content

RDimOrdinateEntity

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

Ordinate dimension entity class.

Scriptable: This class is available in script environments.

Shared Pointer Support: Objects can be used in QSharedPointer.

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 RS::EntityType getRtti()
static QSet< RPropertyTypeId > getStaticPropertyTypeIds()
static void init()
static RPropertyTypeId PropertyBlock
static RPropertyTypeId PropertyColor
static RPropertyTypeId PropertyCustom
static RPropertyTypeId PropertyDefiningPointX
static RPropertyTypeId PropertyDefiningPointY
static RPropertyTypeId PropertyDefiningPointZ
static RPropertyTypeId PropertyDimBlockName
static RPropertyTypeId PropertyDimlfac
static RPropertyTypeId PropertyDimscale
static RPropertyTypeId PropertyDisplayedColor
static RPropertyTypeId PropertyDrawOrder
static RPropertyTypeId PropertyFontName
static RPropertyTypeId PropertyHandle
static RPropertyTypeId PropertyLayer
static RPropertyTypeId PropertyLeaderEndPointX
static RPropertyTypeId PropertyLeaderEndPointY
static RPropertyTypeId PropertyLeaderEndPointZ
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 PropertyOrdinate
static RPropertyTypeId PropertyOriginX
static RPropertyTypeId PropertyOriginY
static RPropertyTypeId PropertyOriginZ
static RPropertyTypeId PropertyProtected
static RPropertyTypeId PropertyText
static RPropertyTypeId PropertyTextRotation
static RPropertyTypeId PropertyType
static RPropertyTypeId PropertyUpperTolerance
static RPropertyTypeId PropertyWorkingSet
virtual void print(QDebug dbg) const
Stream operator for QDebug.
RDimOrdinateData data

RDimOrdinateEntity::RDimOrdinateEntity(RDocument *document, const RDimOrdinateData &data)

virtual RDimOrdinateEntity::~RDimOrdinateEntity()

virtual

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

virtual inline const

Reimplemented from clone.

QSharedPointer< RDimOrdinateEntity > RDimOrdinateEntity::cloneToDimOrdinateEntity() const

inline const

virtual RDimOrdinateData & RDimOrdinateEntity::getData()

virtual inline

Returns: Reference to the data object of the entity.

Reimplemented from getData.

virtual const RDimOrdinateData & RDimOrdinateEntity::getData() const

virtual inline const

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

Reimplemented from getData.

RVector RDimOrdinateEntity::getDefiningPoint() const

inline const

RVector RDimOrdinateEntity::getLeaderEndPoint() const

inline const

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.

bool RDimOrdinateEntity::isMeasuringXAxis() const

inline const

void RDimOrdinateEntity::setData(RDimOrdinateData &d)

inline

void RDimOrdinateEntity::setDefiningPoint(const RVector &p)

inline

void RDimOrdinateEntity::setLeaderEndPoint(const RVector &p)

inline

void RDimOrdinateEntity::setMeasuringXAxis()

inline

void RDimOrdinateEntity::setMeasuringYAxis()

inline

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.

static RS::EntityType RDimOrdinateEntity::getRtti()

static inline

static QSet< RPropertyTypeId > RDimOrdinateEntity::getStaticPropertyTypeIds()

static inline

static void RDimOrdinateEntity::init()

static

static RPropertyTypeId RDimOrdinateEntity::PropertyBlock

static

static RPropertyTypeId RDimOrdinateEntity::PropertyColor

static

static RPropertyTypeId RDimOrdinateEntity::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 RDimOrdinateEntity::PropertyDefiningPointX

static

static RPropertyTypeId RDimOrdinateEntity::PropertyDefiningPointY

static

static RPropertyTypeId RDimOrdinateEntity::PropertyDefiningPointZ

static

static RPropertyTypeId RDimOrdinateEntity::PropertyDimBlockName

static

static RPropertyTypeId RDimOrdinateEntity::PropertyDimlfac

static

static RPropertyTypeId RDimOrdinateEntity::PropertyDimscale

static

static RPropertyTypeId RDimOrdinateEntity::PropertyDisplayedColor

static

static RPropertyTypeId RDimOrdinateEntity::PropertyDrawOrder

static

static RPropertyTypeId RDimOrdinateEntity::PropertyFontName

static

static RPropertyTypeId RDimOrdinateEntity::PropertyHandle

static

static RPropertyTypeId RDimOrdinateEntity::PropertyLayer

static

static RPropertyTypeId RDimOrdinateEntity::PropertyLeaderEndPointX

static

static RPropertyTypeId RDimOrdinateEntity::PropertyLeaderEndPointY

static

static RPropertyTypeId RDimOrdinateEntity::PropertyLeaderEndPointZ

static

static RPropertyTypeId RDimOrdinateEntity::PropertyLinetype

static

static RPropertyTypeId RDimOrdinateEntity::PropertyLinetypeScale

static

static RPropertyTypeId RDimOrdinateEntity::PropertyLineweight

static

static RPropertyTypeId RDimOrdinateEntity::PropertyLowerTolerance

static

static RPropertyTypeId RDimOrdinateEntity::PropertyMeasuredValue

static

static RPropertyTypeId RDimOrdinateEntity::PropertyMiddleOfTextX

static

static RPropertyTypeId RDimOrdinateEntity::PropertyMiddleOfTextY

static

static RPropertyTypeId RDimOrdinateEntity::PropertyMiddleOfTextZ

static

static RPropertyTypeId RDimOrdinateEntity::PropertyOrdinate

static

static RPropertyTypeId RDimOrdinateEntity::PropertyOriginX

static

static RPropertyTypeId RDimOrdinateEntity::PropertyOriginY

static

static RPropertyTypeId RDimOrdinateEntity::PropertyOriginZ

static

static RPropertyTypeId RDimOrdinateEntity::PropertyProtected

static

static RPropertyTypeId RDimOrdinateEntity::PropertyText

static

static RPropertyTypeId RDimOrdinateEntity::PropertyTextRotation

static

static RPropertyTypeId RDimOrdinateEntity::PropertyType

static

static RPropertyTypeId RDimOrdinateEntity::PropertyUpperTolerance

static

static RPropertyTypeId RDimOrdinateEntity::PropertyWorkingSet

static

virtual void RDimOrdinateEntity::print(QDebug dbg) const

virtual const protected

Stream operator for QDebug.

Reimplemented from print.

RDimOrdinateData RDimOrdinateEntity::data

protected