QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RBlockReferenceEntity Class Reference

Block reference entity. More...

#include <RBlockReferenceEntity.h>

Inheritance diagram for RBlockReferenceEntity:
REntity RObject

Public Member Functions

bool applyTransformationTo (QSharedPointer< REntity > &entity) const
 
bool applyTransformationTo (REntity &entity) const
 
virtual QSharedPointer< RObjectclone () const
 
QSharedPointer< RBlockReferenceEntitycloneToBlockReferenceEntity () const
 
virtual void exportEntity (RExporter &e, bool preview=false, bool forceSelected=false) const
 Exports the entity to the given exporter.
 
int getColumnCount () const
 
double getColumnSpacing () const
 
virtual RBlockReferenceDatagetData ()
 
virtual const RBlockReferenceDatagetData () const
 
RVector getPosition () const
 
virtual QPair< QVariant, RPropertyAttributesgetProperty (RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false)
 
virtual QSet< RPropertyTypeIdgetPropertyTypeIds (RPropertyAttributes::Option option=RPropertyAttributes::NoOptions) const
 
RObject::Id getReferencedBlockId () const
 
QString getReferencedBlockName () const
 
double getRotation () const
 
int getRowCount () const
 
double getRowSpacing () const
 
RVector getScaleFactors () const
 
bool hasBlockOwnership () const
 
RVector mapToBlock (const RVector &v) const
 
virtual void print (QDebug dbg) const
 
QSharedPointer< REntityqueryEntity (RObject::Id entityId, bool transform=false, bool ignoreAttDef=true) const
 
 RBlockReferenceEntity (const RBlockReferenceEntity &other)
 
 RBlockReferenceEntity (RDocument *document, const RBlockReferenceData &data)
 
void setColumnCount (int c)
 
void setColumnSpacing (double s)
 
void setPosition (const RVector &pos)
 
virtual bool setProperty (RPropertyTypeId propertyTypeId, const QVariant &value, RTransaction *transaction=NULL)
 Sets the given property to the given value.
 
void setReferencedBlockId (RObject::Id blockId)
 
void setReferencedBlockName (const QString &blockName)
 
void setRotation (double r)
 
void setRowCount (int c)
 
void setRowSpacing (double s)
 
void setScaleFactors (const RVector sf)
 
virtual void update () const
 Entities can reimplement this function to invalidate any internal cache (mark the entity as dirty).
 
void update (RObject::Id entityId) const
 
virtual ~RBlockReferenceEntity ()
 
- Public Member Functions inherited from REntity
virtual const RShapecastToConstShape () const
 
virtual RShapecastToShape ()
 
virtual bool clickReferencePoint (const RVector &referencePoint)
 Called when user clicks a reference point.
 
virtual bool cloneOnChange () const
 
QSharedPointer< REntitycloneToEntity () const
 
void copyAttributesFrom (const REntity *entity, bool copyBlockId=true)
 Copies all attributes (layer, block, color, line weight, line style) from the given entity.
 
void copyAttributesFrom (const REntityData &entityData, bool copyBlockId=true)
 
virtual bool flipHorizontal ()
 
virtual bool flipVertical ()
 
RObject::Id getBlockId () const
 
QString getBlockName () const
 
virtual RBox getBoundingBox (bool ignoreEmpty=false) const
 
virtual QList< RBoxgetBoundingBoxes (bool ignoreEmpty=false) const
 
virtual QList< RVectorgetCenterPoints (const RBox &queryBox=RDEFAULT_RBOX, QList< RObject::Id > *subEntityIds=NULL) const
 
virtual RVector getClosestPointOnEntity (const RVector &point, double range=RNANDOUBLE, bool limited=true, RObject::Id *subEntityId=NULL) const
 
virtual QSharedPointer< RShapegetClosestShape (const RVector &pos, double range=RNANDOUBLE, bool ignoreComplex=false, RObject::Id *subEntityId=NULL) const
 
virtual QSharedPointer< RShapegetClosestSimpleShape (const RVector &pos, double range=RNANDOUBLE) const
 
RObject::Id getClosestSubEntityId (const RVector &pos, double range=RNANDOUBLE, bool ignoreComplex=false) const
 Convenience function for scripts.
 
RColor getColor () const
 
RColor getColor (bool resolve, const QStack< QSharedPointer< REntity > > &blockRefStack)
 
RColor getColor (const RColor &unresolvedColor, const QStack< QSharedPointer< REntity > > &blockRefStack)
 
virtual int getComplexity () const
 
RColor getDisplayColor ()
 
virtual double getDistanceTo (const RVector &point, bool limited=true, double range=0.0, bool draft=false, double strictRange=RMAXDOUBLE) const
 
int getDrawOrder () const
 
virtual QList< RVectorgetEndPoints (const RBox &queryBox=RDEFAULT_RBOX, QList< RObject::Id > *subEntityIds=NULL) const
 
virtual RPolyline getHull (double offset) const
 
virtual QList< RRefPointgetInternalReferencePoints (RS::ProjectionRenderingHint hint=RS::RenderTop, QList< RObject::Id > *subEntityIds=NULL) const
 Can be overwritten to return internal, resolved reference points.
 
virtual QList< RVectorgetIntersectionPoints (const REntity &other, bool limited=true, const RBox &queryBox=RDEFAULT_RBOX, bool ignoreComplex=true, QList< QPair< RObject::Id, RObject::Id > > *entityIds=NULL) const
 
virtual QList< RVectorgetIntersectionPoints (const RShape &shape, bool limited=true, const RBox &queryBox=RDEFAULT_RBOX, bool ignoreComplex=true) const
 
virtual QList< RVectorgetIntersectionPointsWithShape (const RShape &shape, bool limited=true, const RBox &queryBox=RDEFAULT_RBOX) const
 Make getIntersectionPoints with shape parameter accessible for script wrappers.
 
RObject::Id getLayerId () const
 
QString getLayerName () const
 
RObject::Id getLinetypeId () const
 
RObject::Id getLinetypeId (bool resolve, const QStack< QSharedPointer< REntity > > &blockRefStack) const
 
RLinetypePattern getLinetypePattern () const
 
double getLinetypeScale () const
 
RLineweight::Lineweight getLineweight () const
 
RLineweight::Lineweight getLineweight (bool resolve, const QStack< QSharedPointer< REntity > > &blockRefStack) const
 
double getLineweightInUnits (const QStack< QSharedPointer< REntity > > &blockRefStack) const
 
virtual QList< RVectorgetMiddlePoints (const RBox &queryBox=RDEFAULT_RBOX, QList< RObject::Id > *subEntityIds=NULL) const
 
RObject::Id getParentId () const
 
virtual RVector getPointOnEntity () const
 
virtual QList< RVectorgetPointsWithDistanceToEnd (double distance, int from=RS::FromAny, const RBox &queryBox=RDEFAULT_RBOX, QList< RObject::Id > *subEntityIds=NULL) const
 
virtual QList< RRefPointgetReferencePoints (RS::ProjectionRenderingHint hint=RS::RenderTop) const
 
virtual QList< QSharedPointer< RShape > > getShapes (const RBox &queryBox=RDEFAULT_RBOX, bool ignoreComplex=false, bool segment=false, QList< RObject::Id > *entityIds=NULL) const
 
virtual RS::EntityType getType () const
 
virtual RVector getVectorTo (const RVector &point, bool limited=true, double strictRange=RMAXDOUBLE) const
 
virtual bool intersectsWith (const RShape &shape) const
 
virtual bool isEditable (bool allowInvisible=false) const
 
virtual bool isInside (const RBox &box) const
 
virtual bool isInWorkingSet () const
 
virtual bool isOnEntity (const RVector &point, bool limited=true, double tolerance=RDEFAULT_TOLERANCE_1E_MIN4) const
 
virtual bool isPointType () const
 
virtual bool isSane () const
 
virtual bool isSelectable () const
 
virtual bool isSelected () const
 Reimplemented by entities that are part of a block reference but not stored as part of the block definition (currently only block attributes).
 
virtual bool isSelectedWorkingSet () const
 
virtual bool isUpdatesEnabled () const
 
virtual bool isValid () const
 
virtual bool isVisible (RObject::Id blockId=RObject::INVALID_ID) const
 
virtual bool mirror (const RLine &axis)
 
virtual bool mirror (const RVector &axis1, const RVector &axis2)
 
virtual bool move (const RVector &offset)
 Moves this entity by the given offset.
 
virtual bool moveReferencePoint (const RVector &referencePoint, const RVector &targetPoint, Qt::KeyboardModifiers modifiers=Qt::NoModifier)
 Moves the given reference point to the given target point or does nothing if this entity has no reference point as the given location.
 
 REntity (const REntity &other)
 
 REntity (RDocument *document)
 
virtual bool rotate (double rotation, const RVector &center=RDEFAULT_RVECTOR)
 
virtual bool scale (const RVector &scaleFactors, const RVector &center=RDEFAULT_RVECTOR)
 
virtual bool scale (double scaleFactor, const RVector &center=RDEFAULT_RVECTOR)
 
virtual QSharedPointer< REntityscaleNonUniform (const RVector &scaleFactors, const RVector &center=RDEFAULT_RVECTOR)
 
virtual void scaleVisualProperties (double scaleFactor)
 
virtual void setAutoUpdatesBlocked (bool on)
 
void setBlockId (RObject::Id blockId)
 
void setColor (const RColor &color)
 
void setDocument (RDocument *document)
 
void setDrawOrder (int drawOrder)
 Sets the draw order of this entity.
 
void setLayerId (RObject::Id layerId)
 
void setLayerName (const QString &n)
 
void setLinetypeId (RObject::Id linetypeId)
 Sets the linetype of this entity to the given linetype ID.
 
void setLinetypePattern (const RLinetypePattern &linetypePattern)
 
void setLinetypeScale (double linetypeScale)
 
void setLineweight (RLineweight::Lineweight lineweight)
 
virtual void setSelected (bool on)
 Selects or deselects this entity.
 
virtual void setSelectedWorkingSet (bool on)
 
void setUpdatesEnabled (bool on)
 
virtual void setViewportContext (const RViewportData &)
 
virtual void setZ (double z)
 
virtual bool stretch (const RPolyline &area, const RVector &offset)
 Stretches the end points of this entity that are inside area by offset.
 
virtual void to2D ()
 
virtual ~REntity ()
 
- Public Member Functions inherited from RObject
void copyCustomPropertiesFrom (const RObject *other, const QString &title=RDEFAULT_QSTRING, bool overwrite=false, const QStringList &ignoreList=RDEFAULT_QSTRINGLIST, const QString &mapKeyFrom=RDEFAULT_QSTRING, const QString &mapKeyTo=RDEFAULT_QSTRING)
 Copies all custom properties from the given object.
 
void dump () const
 
virtual bool getCustomBoolProperty (const QString &title, const QString &key, bool defaultValue) const
 
virtual double getCustomDoubleProperty (const QString &title, const QString &key, double defaultValue) const
 
virtual int getCustomIntProperty (const QString &title, const QString &key, int defaultValue) const
 
QMap< QString, QVariantMap > getCustomProperties () const
 
virtual QVariant getCustomProperty (const QString &title, const QString &key, const QVariant &defaultValue=RDEFAULT_QVARIANT) const
 
QStringList getCustomPropertyKeys (const QString &title) const
 
QStringList getCustomPropertyTitles () const
 
virtual QSet< RPropertyTypeIdgetCustomPropertyTypeIds () const
 
RDocumentgetDocument ()
 
const RDocumentgetDocument () const
 
bool getFlag (int flag) const
 
RObject::Handle getHandle () const
 
RObject::Id getId () const
 
bool hasCustomProperties () const
 
bool hasCustomProperty (const QString &title, const QRegularExpression &key) const
 
bool hasCustomProperty (const QString &title, const QString &key) const
 
virtual bool hasPropertyType (RPropertyTypeId propertyTypeId)
 
bool isInvisible () const
 
virtual bool isOfType (RS::EntityType t) const
 Override to indicate that this entity is of a certain type, e.g.
 
bool isProtected () const
 
bool isUndone () const
 
virtual bool isWorkingSet () const
 
virtual bool mustAlwaysClone () const
 
virtual void removeCustomProperty (const QString &title, const QString &key)
 Removes the custom property with the given name.
 
 RObject (const RObject &other)
 
 RObject (RDocument *document=NULL)
 
virtual void setCustomProperties (const RQMapQStringQString &properties)
 
virtual void setCustomProperty (const QString &title, const QString &key, const QVariant &value)
 Sets a custom property with the given name.
 
void setDocument (RDocument *document)
 
void setFlag (int flag, bool on=true)
 
void setInvisible (bool on)
 
void setProtected (bool on)
 
virtual void setWorkingSet (bool on)
 
virtual bool validate ()
 
virtual ~RObject ()
 

Static Public Member Functions

static RS::EntityType getRtti ()
 
static QSet< RPropertyTypeIdgetStaticPropertyTypeIds ()
 
static void init ()
 
- Static Public Member Functions inherited from REntity
static RS::EntityType getRtti ()
 
static QSet< RPropertyTypeIdgetStaticPropertyTypeIds ()
 
static void init ()
 
static bool isComplex (const RS::EntityType type)
 
static bool isDimension (const RS::EntityType type)
 
static bool isTextBased (const RS::EntityType type)
 
- Static Public Member Functions inherited from RObject
static RPropertyAttributes getCustomPropertyAttributes (const QString &title, const QString &key)
 
static RS::EntityType getRtti ()
 
static void init ()
 
static void setCustomPropertyAttributes (const QString &title, const QString &key, const RPropertyAttributes &att)
 Set attributes (read-only, invisible, ...) for the given custom property.
 
template<class T >
static bool setMember (T &variable, const QVariant &value, bool condition=true)
 

Static Public Attributes

static RPropertyTypeId PropertyBlock
 
static RPropertyTypeId PropertyColor
 
static RPropertyTypeId PropertyColumnCount
 
static RPropertyTypeId PropertyColumnSpacing
 
static RPropertyTypeId PropertyCustom
 Copyright (c) 2011-2018 by Andrew Mustun.
 
static RPropertyTypeId PropertyDisplayedColor
 
static RPropertyTypeId PropertyDrawOrder
 
static RPropertyTypeId PropertyHandle
 
static RPropertyTypeId PropertyLayer
 
static RPropertyTypeId PropertyLinetype
 
static RPropertyTypeId PropertyLinetypeScale
 
static RPropertyTypeId PropertyLineweight
 
static RPropertyTypeId PropertyPositionX
 
static RPropertyTypeId PropertyPositionY
 
static RPropertyTypeId PropertyPositionZ
 
static RPropertyTypeId PropertyProtected
 
static RPropertyTypeId PropertyReferencedBlock
 
static RPropertyTypeId PropertyRotation
 
static RPropertyTypeId PropertyRowCount
 
static RPropertyTypeId PropertyRowSpacing
 
static RPropertyTypeId PropertyScaleX
 
static RPropertyTypeId PropertyScaleY
 
static RPropertyTypeId PropertyScaleZ
 
static RPropertyTypeId PropertyType
 
static RPropertyTypeId PropertyWorkingSet
 
- Static Public Attributes inherited from REntity
static RPropertyTypeId PropertyBlock
 
static RPropertyTypeId PropertyColor
 
static RPropertyTypeId PropertyCustom
 Copyright (c) 2011-2018 by Andrew Mustun.
 
static RPropertyTypeId PropertyDisplayedColor
 
static RPropertyTypeId PropertyDrawOrder
 
static RPropertyTypeId PropertyHandle
 
static RPropertyTypeId PropertyLayer
 
static RPropertyTypeId PropertyLinetype
 
static RPropertyTypeId PropertyLinetypeScale
 
static RPropertyTypeId PropertyLineweight
 
static RPropertyTypeId PropertyMaxX
 
static RPropertyTypeId PropertyMaxY
 
static RPropertyTypeId PropertyMinX
 
static RPropertyTypeId PropertyMinY
 
static RPropertyTypeId PropertyParentId
 
static RPropertyTypeId PropertyProtected
 
static RPropertyTypeId PropertySizeX
 
static RPropertyTypeId PropertySizeY
 
static RPropertyTypeId PropertyType
 
static RPropertyTypeId PropertyWorkingSet
 
- Static Public Attributes inherited from RObject
static const Handle INVALID_HANDLE = -1
 
static const Id INVALID_ID = -1
 Copyright (c) 2011-2018 by Andrew Mustun.
 
static RPropertyTypeId PropertyCustom
 
static RPropertyTypeId PropertyHandle
 
static RPropertyTypeId PropertyInvisible
 
static RPropertyTypeId PropertyProtected
 
static RPropertyTypeId PropertySelected
 
static RPropertyTypeId PropertyType
 
static RPropertyTypeId PropertyWorkingSet
 

Protected Attributes

RBlockReferenceData data
 
int recursionDepth
 

Additional Inherited Members

- Public Types inherited from RObject
typedef int Handle
 
typedef int Id
 
enum  ObjectFlag {
  NoFlags = 0x000 , Undone = 0x001 , Protect = 0x002 , Selected = 0x004 ,
  Invisible = 0x008 , WorkingSet = 0x010
}
 
enum  XYZ { X , Y , Z }
 
- Protected Member Functions inherited from REntity
void setParentId (RObject::Id parentId)
 
- Protected Member Functions inherited from RObject
void setHandle (RObject::Handle h)
 
void setId (RObject::Id id)
 
bool setMemberFlag (int flag, const QVariant &value, bool condition=true)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
void setUndone (bool on)
 
- Static Protected Member Functions inherited from RObject
static bool setMember (bool &variable, const QVariant &value, bool condition=true)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
static bool setMember (double &variable, const QVariant &value, bool condition=true)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
static bool setMember (int &variable, const QVariant &value, bool condition=true)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
static bool setMember (QList< double > &variable, const QVariant &value, bool condition)
 
static bool setMember (QList< int > &variable, const QVariant &value, bool condition)
 
static bool setMember (QString &variable, const QVariant &value, bool condition=true)
 Sets the given property.
 
static bool setMemberVector (QList< RVector > &variable, const QVariant &value, RObject::XYZ xyz)
 
static bool setMemberX (QList< RVector > &variable, const QVariant &value, bool condition=true)
 
static bool setMemberY (QList< RVector > &variable, const QVariant &value, bool condition=true)
 
static bool setMemberZ (QList< RVector > &variable, const QVariant &value, bool condition=true)
 

Detailed Description

Block reference entity.

Scriptable:\nThis class is available in script environments.\n
Shared Pointer Support:\nObjects can be used in QSharedPointer.\n

Constructor & Destructor Documentation

◆ RBlockReferenceEntity() [1/2]

RBlockReferenceEntity::RBlockReferenceEntity ( RDocument * document,
const RBlockReferenceData & data )

◆ RBlockReferenceEntity() [2/2]

RBlockReferenceEntity::RBlockReferenceEntity ( const RBlockReferenceEntity & other)

◆ ~RBlockReferenceEntity()

RBlockReferenceEntity::~RBlockReferenceEntity ( )
virtual

Member Function Documentation

◆ applyTransformationTo() [1/2]

bool RBlockReferenceEntity::applyTransformationTo ( QSharedPointer< REntity > & entity) const
inline
Non-Scriptable:\nThis function is not available in script environments.\n

◆ applyTransformationTo() [2/2]

bool RBlockReferenceEntity::applyTransformationTo ( REntity & entity) const
inline

◆ clone()

virtual QSharedPointer< RObject > RBlockReferenceEntity::clone ( ) const
inlinevirtual

Implements REntity.

◆ cloneToBlockReferenceEntity()

QSharedPointer< RBlockReferenceEntity > RBlockReferenceEntity::cloneToBlockReferenceEntity ( ) const
inline

◆ exportEntity()

void RBlockReferenceEntity::exportEntity ( RExporter & e,
bool preview = false,
bool forceSelected = false ) const
virtual

Exports the entity to the given exporter.

The exporter might be a file exporter, a graphics scene or any other platform one can export entities to.

Implements REntity.

◆ getColumnCount()

int RBlockReferenceEntity::getColumnCount ( ) const
inline

◆ getColumnSpacing()

double RBlockReferenceEntity::getColumnSpacing ( ) const
inline

◆ getData() [1/2]

virtual RBlockReferenceData & RBlockReferenceEntity::getData ( )
inlinevirtual
Returns
Reference to the data object of the entity.

Implements REntity.

◆ getData() [2/2]

virtual const RBlockReferenceData & RBlockReferenceEntity::getData ( ) const
inlinevirtual
Returns
Const reference to the data object of the entity.

Implements REntity.

◆ getPosition()

RVector RBlockReferenceEntity::getPosition ( ) const
inline

◆ getProperty()

QPair< QVariant, RPropertyAttributes > RBlockReferenceEntity::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 REntity.

◆ getPropertyTypeIds()

QSet< RPropertyTypeId > RBlockReferenceEntity::getPropertyTypeIds ( RPropertyAttributes::Option option = RPropertyAttributes::NoOptions) const
virtual
Returns
A set of all property IDs of properties that are available for this object. The IDs that are returned can be translated into a group title and a property title using getPropertyGroupTitle and getPropertyTitle.

Reimplemented from RObject.

◆ getReferencedBlockId()

RObject::Id RBlockReferenceEntity::getReferencedBlockId ( ) const
inline

◆ getReferencedBlockName()

QString RBlockReferenceEntity::getReferencedBlockName ( ) const
inline

◆ getRotation()

double RBlockReferenceEntity::getRotation ( ) const
inline

◆ getRowCount()

int RBlockReferenceEntity::getRowCount ( ) const
inline

◆ getRowSpacing()

double RBlockReferenceEntity::getRowSpacing ( ) const
inline

◆ getRtti()

static RS::EntityType RBlockReferenceEntity::getRtti ( )
inlinestatic

◆ getScaleFactors()

RVector RBlockReferenceEntity::getScaleFactors ( ) const
inline

◆ getStaticPropertyTypeIds()

static QSet< RPropertyTypeId > RBlockReferenceEntity::getStaticPropertyTypeIds ( )
inlinestatic

◆ hasBlockOwnership()

bool RBlockReferenceEntity::hasBlockOwnership ( ) const
inline

◆ init()

void RBlockReferenceEntity::init ( )
static

◆ mapToBlock()

RVector RBlockReferenceEntity::mapToBlock ( const RVector & v) const
inline

◆ print()

void RBlockReferenceEntity::print ( QDebug dbg) const
virtual
Non-Scriptable:\nThis function is not available in script environments.\n

Reimplemented from REntity.

◆ queryEntity()

QSharedPointer< REntity > RBlockReferenceEntity::queryEntity ( RObject::Id entityId,
bool transform = false,
bool ignoreAttDef = true ) const
inline

◆ setColumnCount()

void RBlockReferenceEntity::setColumnCount ( int c)
inline

◆ setColumnSpacing()

void RBlockReferenceEntity::setColumnSpacing ( double s)
inline

◆ setPosition()

void RBlockReferenceEntity::setPosition ( const RVector & pos)
inline

◆ setProperty()

bool RBlockReferenceEntity::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 REntity.

◆ setReferencedBlockId()

void RBlockReferenceEntity::setReferencedBlockId ( RObject::Id blockId)
inline

◆ setReferencedBlockName()

void RBlockReferenceEntity::setReferencedBlockName ( const QString & blockName)
inline

◆ setRotation()

void RBlockReferenceEntity::setRotation ( double r)
inline

◆ setRowCount()

void RBlockReferenceEntity::setRowCount ( int c)
inline

◆ setRowSpacing()

void RBlockReferenceEntity::setRowSpacing ( double s)
inline

◆ setScaleFactors()

void RBlockReferenceEntity::setScaleFactors ( const RVector sf)
inline

◆ update() [1/2]

virtual void RBlockReferenceEntity::update ( ) const
inlinevirtual

Entities can reimplement this function to invalidate any internal cache (mark the entity as dirty).

Reimplemented from REntity.

◆ update() [2/2]

void RBlockReferenceEntity::update ( RObject::Id entityId) const
inline

Member Data Documentation

◆ data

RBlockReferenceData RBlockReferenceEntity::data
protected

◆ PropertyBlock

RPropertyTypeId RBlockReferenceEntity::PropertyBlock
static

◆ PropertyColor

RPropertyTypeId RBlockReferenceEntity::PropertyColor
static

◆ PropertyColumnCount

RPropertyTypeId RBlockReferenceEntity::PropertyColumnCount
static

◆ PropertyColumnSpacing

RPropertyTypeId RBlockReferenceEntity::PropertyColumnSpacing
static

◆ PropertyCustom

RPropertyTypeId RBlockReferenceEntity::PropertyCustom
static

Copyright (c) 2011-2018 by Andrew Mustun.

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.

◆ PropertyDisplayedColor

RPropertyTypeId RBlockReferenceEntity::PropertyDisplayedColor
static

◆ PropertyDrawOrder

RPropertyTypeId RBlockReferenceEntity::PropertyDrawOrder
static

◆ PropertyHandle

RPropertyTypeId RBlockReferenceEntity::PropertyHandle
static

◆ PropertyLayer

RPropertyTypeId RBlockReferenceEntity::PropertyLayer
static

◆ PropertyLinetype

RPropertyTypeId RBlockReferenceEntity::PropertyLinetype
static

◆ PropertyLinetypeScale

RPropertyTypeId RBlockReferenceEntity::PropertyLinetypeScale
static

◆ PropertyLineweight

RPropertyTypeId RBlockReferenceEntity::PropertyLineweight
static

◆ PropertyPositionX

RPropertyTypeId RBlockReferenceEntity::PropertyPositionX
static

◆ PropertyPositionY

RPropertyTypeId RBlockReferenceEntity::PropertyPositionY
static

◆ PropertyPositionZ

RPropertyTypeId RBlockReferenceEntity::PropertyPositionZ
static

◆ PropertyProtected

RPropertyTypeId RBlockReferenceEntity::PropertyProtected
static

◆ PropertyReferencedBlock

RPropertyTypeId RBlockReferenceEntity::PropertyReferencedBlock
static

◆ PropertyRotation

RPropertyTypeId RBlockReferenceEntity::PropertyRotation
static

◆ PropertyRowCount

RPropertyTypeId RBlockReferenceEntity::PropertyRowCount
static

◆ PropertyRowSpacing

RPropertyTypeId RBlockReferenceEntity::PropertyRowSpacing
static

◆ PropertyScaleX

RPropertyTypeId RBlockReferenceEntity::PropertyScaleX
static

◆ PropertyScaleY

RPropertyTypeId RBlockReferenceEntity::PropertyScaleY
static

◆ PropertyScaleZ

RPropertyTypeId RBlockReferenceEntity::PropertyScaleZ
static

◆ PropertyType

RPropertyTypeId RBlockReferenceEntity::PropertyType
static

◆ PropertyWorkingSet

RPropertyTypeId RBlockReferenceEntity::PropertyWorkingSet
static

◆ recursionDepth

int RBlockReferenceEntity::recursionDepth
mutableprotected

The documentation for this class was generated from the following files: