Skip to content

RDimRotatedEntity

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

Rotated, linear dimension entity class.

Scriptable: This class is available in script environments.

Shared Pointer Support: Objects can be used in QSharedPointer.

RDimRotatedEntity(RDocument *document, const RDimRotatedData &data)
virtual ~RDimRotatedEntity()
virtual QSharedPointer< RObject > clone() const
QSharedPointer< RDimRotatedEntity > cloneToDimRotatedEntity() const
virtual RDimRotatedData & getData()
virtual const RDimRotatedData & getData() const
RVector getExtensionPoint1() const
RVector getExtensionPoint2() const
virtual QPair< QVariant, RPropertyAttributes > getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false)
double getRotation() const
void setData(RDimRotatedData &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.
void setRotation(double a)
static RS::EntityType getRtti()
static QSet< RPropertyTypeId > getStaticPropertyTypeIds()
static void init()
static RPropertyTypeId PropertyAngle
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.
RDimRotatedData data

RDimRotatedEntity::RDimRotatedEntity(RDocument *document, const RDimRotatedData &data)

virtual RDimRotatedEntity::~RDimRotatedEntity()

virtual

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

virtual inline const

Reimplemented from clone.

QSharedPointer< RDimRotatedEntity > RDimRotatedEntity::cloneToDimRotatedEntity() const

inline const

virtual RDimRotatedData & RDimRotatedEntity::getData()

virtual inline

Returns: Reference to the data object of the entity.

Reimplemented from getData.

virtual const RDimRotatedData & RDimRotatedEntity::getData() const

virtual inline const

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

Reimplemented from getData.

RVector RDimRotatedEntity::getExtensionPoint1() const

inline const

RVector RDimRotatedEntity::getExtensionPoint2() const

inline const

virtual QPair< QVariant, RPropertyAttributes > RDimRotatedEntity::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.

double RDimRotatedEntity::getRotation() const

inline const

void RDimRotatedEntity::setData(RDimRotatedData &d)

inline

void RDimRotatedEntity::setExtensionPoint1(const RVector &p)

inline

void RDimRotatedEntity::setExtensionPoint2(const RVector &p)

inline

virtual bool RDimRotatedEntity::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.

void RDimRotatedEntity::setRotation(double a)

inline

static RS::EntityType RDimRotatedEntity::getRtti()

static inline

static QSet< RPropertyTypeId > RDimRotatedEntity::getStaticPropertyTypeIds()

static inline

static void RDimRotatedEntity::init()

static

static RPropertyTypeId RDimRotatedEntity::PropertyAngle

static

static RPropertyTypeId RDimRotatedEntity::PropertyArchTick

static

static RPropertyTypeId RDimRotatedEntity::PropertyArrow1Flipped

static

static RPropertyTypeId RDimRotatedEntity::PropertyArrow2Flipped

static

static RPropertyTypeId RDimRotatedEntity::PropertyAutoTextPos

static

static RPropertyTypeId RDimRotatedEntity::PropertyBlock

static

static RPropertyTypeId RDimRotatedEntity::PropertyColor

static

static RPropertyTypeId RDimRotatedEntity::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 RDimRotatedEntity::PropertyDimasz

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimBlockName

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimclrt

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimdec

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimdsep

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimensionLinePosX

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimensionLinePosY

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimensionLinePosZ

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimexe

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimexo

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimgap

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimlfac

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimlunit

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimscale

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimtad

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimtih

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimtsz

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimtxt

static

static RPropertyTypeId RDimRotatedEntity::PropertyDimzin

static

static RPropertyTypeId RDimRotatedEntity::PropertyDisplayedColor

static

static RPropertyTypeId RDimRotatedEntity::PropertyDrawOrder

static

static RPropertyTypeId RDimRotatedEntity::PropertyExtensionPoint1X

static

static RPropertyTypeId RDimRotatedEntity::PropertyExtensionPoint1Y

static

static RPropertyTypeId RDimRotatedEntity::PropertyExtensionPoint1Z

static

static RPropertyTypeId RDimRotatedEntity::PropertyExtensionPoint2X

static

static RPropertyTypeId RDimRotatedEntity::PropertyExtensionPoint2Y

static

static RPropertyTypeId RDimRotatedEntity::PropertyExtensionPoint2Z

static

static RPropertyTypeId RDimRotatedEntity::PropertyExtLineFix

static

static RPropertyTypeId RDimRotatedEntity::PropertyExtLineFixLength

static

static RPropertyTypeId RDimRotatedEntity::PropertyFontName

static

static RPropertyTypeId RDimRotatedEntity::PropertyHandle

static

static RPropertyTypeId RDimRotatedEntity::PropertyLayer

static

static RPropertyTypeId RDimRotatedEntity::PropertyLinetype

static

static RPropertyTypeId RDimRotatedEntity::PropertyLinetypeScale

static

static RPropertyTypeId RDimRotatedEntity::PropertyLineweight

static

static RPropertyTypeId RDimRotatedEntity::PropertyLowerTolerance

static

static RPropertyTypeId RDimRotatedEntity::PropertyMeasuredValue

static

static RPropertyTypeId RDimRotatedEntity::PropertyMiddleOfTextX

static

static RPropertyTypeId RDimRotatedEntity::PropertyMiddleOfTextY

static

static RPropertyTypeId RDimRotatedEntity::PropertyMiddleOfTextZ

static

static RPropertyTypeId RDimRotatedEntity::PropertyProtected

static

static RPropertyTypeId RDimRotatedEntity::PropertyText

static

static RPropertyTypeId RDimRotatedEntity::PropertyType

static

static RPropertyTypeId RDimRotatedEntity::PropertyUpperTolerance

static

static RPropertyTypeId RDimRotatedEntity::PropertyWorkingSet

static

virtual void RDimRotatedEntity::print(QDebug dbg) const

virtual const protected

Stream operator for QDebug.

Reimplemented from print.

RDimRotatedData RDimRotatedEntity::data

protected