RWipeoutEntity
Class in Entity Module
Header: #include <src/entity/RWipeoutEntity.h>
Inherits: REntity
Description
Section titled “Description”Polyline entity.
Scriptable: This class is available in script environments.
Shared Pointer Support: Objects can be used in QSharedPointer.
Public Functions
Section titled “Public Functions”RWipeoutEntity(const RWipeoutEntity &other) |
|
RWipeoutEntity(RDocument *document, const RWipeoutData &data) |
|
| virtual | ~RWipeoutEntity() |
| void | appendVertex(const RVector &vertex, double bulge=0.0, double w1=0.0, double w2=0.0) |
| virtual QSharedPointer< RObject > | clone() const |
| QSharedPointer< RWipeoutEntity > | cloneToWipeoutEntity() const |
| int | countVertices() const |
| virtual void | exportEntity(RExporter &e, bool preview=false, bool forceSelected=false) constExports the entity to the given exporter. |
| double | getBulgeAt(int i) const |
| virtual RWipeoutData & | getData() |
| virtual const RWipeoutData & | getData() const |
| RVector | getEndPoint() const |
| virtual QPair< QVariant, RPropertyAttributes > | getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false) |
| bool | getShowFrame() const |
| RVector | getStartPoint() const |
| RVector | getVertexAt(int i) const |
| void | removeLastVertex() |
| void | setBulgeAt(int i, double b) |
| virtual bool | setProperty(RPropertyTypeId propertyTypeId, const QVariant &value, RTransaction *transaction=NULL)Sets the given property to the given value. |
| void | setShape(const RPolyline &l) |
| void | setShowFrame(bool on) |
| void | setVertexAt(int i, const RVector &v) |
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”| static RPropertyTypeId | PropertyBaseAngle |
| static RPropertyTypeId | PropertyBlock |
| static RPropertyTypeId | PropertyBulgeN |
| static RPropertyTypeId | PropertyColor |
| static RPropertyTypeId | PropertyCustom |
| static RPropertyTypeId | PropertyDisplayedColor |
| static RPropertyTypeId | PropertyDrawOrder |
| static RPropertyTypeId | PropertyFrame |
| static RPropertyTypeId | PropertyHandle |
| static RPropertyTypeId | PropertyLayer |
| static RPropertyTypeId | PropertyLinetype |
| static RPropertyTypeId | PropertyLinetypeScale |
| static RPropertyTypeId | PropertyLineweight |
| static RPropertyTypeId | PropertyProtected |
| static RPropertyTypeId | PropertySize1 |
| static RPropertyTypeId | PropertySize2 |
| static RPropertyTypeId | PropertyType |
| static RPropertyTypeId | PropertyVertexNX |
| static RPropertyTypeId | PropertyVertexNY |
| static RPropertyTypeId | PropertyVertexNZ |
| static RPropertyTypeId | PropertyWorkingSet |
Protected Attributes
Section titled “Protected Attributes”| RWipeoutData | data |
Member Documentation
Section titled “Member Documentation”RWipeoutEntity
Section titled “RWipeoutEntity”RWipeoutEntity::RWipeoutEntity(const RWipeoutEntity &other)RWipeoutEntity
Section titled “RWipeoutEntity”RWipeoutEntity::RWipeoutEntity(RDocument *document, const RWipeoutData &data)~RWipeoutEntity
Section titled “~RWipeoutEntity”virtual RWipeoutEntity::~RWipeoutEntity()virtual
appendVertex
Section titled “appendVertex”void RWipeoutEntity::appendVertex(const RVector &vertex, double bulge=0.0, double w1=0.0, double w2=0.0)inline
virtual QSharedPointer< RObject > RWipeoutEntity::clone() constvirtual inline const
Reimplemented from clone.
cloneToWipeoutEntity
Section titled “cloneToWipeoutEntity”QSharedPointer< RWipeoutEntity > RWipeoutEntity::cloneToWipeoutEntity() constinline const
countVertices
Section titled “countVertices”int RWipeoutEntity::countVertices() constinline const
exportEntity
Section titled “exportEntity”virtual void RWipeoutEntity::exportEntity(RExporter &e, bool preview=false, bool forceSelected=false) constvirtual const
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.
Reimplemented from exportEntity.
getBulgeAt
Section titled “getBulgeAt”double RWipeoutEntity::getBulgeAt(int i) constinline const
getData
Section titled “getData”virtual RWipeoutData & RWipeoutEntity::getData()virtual inline
Returns: Reference to the data object of the entity.
Reimplemented from getData.
getData
Section titled “getData”virtual const RWipeoutData & RWipeoutEntity::getData() constvirtual inline const
Returns: Const reference to the data object of the entity.
Reimplemented from getData.
getEndPoint
Section titled “getEndPoint”RVector RWipeoutEntity::getEndPoint() constinline const
getProperty
Section titled “getProperty”virtual QPair< QVariant, RPropertyAttributes > RWipeoutEntity::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.
getShowFrame
Section titled “getShowFrame”bool RWipeoutEntity::getShowFrame() constinline const
getStartPoint
Section titled “getStartPoint”RVector RWipeoutEntity::getStartPoint() constinline const
getVertexAt
Section titled “getVertexAt”RVector RWipeoutEntity::getVertexAt(int i) constinline const
removeLastVertex
Section titled “removeLastVertex”void RWipeoutEntity::removeLastVertex()inline
setBulgeAt
Section titled “setBulgeAt”void RWipeoutEntity::setBulgeAt(int i, double b)inline
setProperty
Section titled “setProperty”virtual bool RWipeoutEntity::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.
setShape
Section titled “setShape”void RWipeoutEntity::setShape(const RPolyline &l)setShowFrame
Section titled “setShowFrame”void RWipeoutEntity::setShowFrame(bool on)inline
setVertexAt
Section titled “setVertexAt”void RWipeoutEntity::setVertexAt(int i, const RVector &v)inline
getRtti
Section titled “getRtti”static RS::EntityType RWipeoutEntity::getRtti()static inline
getStaticPropertyTypeIds
Section titled “getStaticPropertyTypeIds”static QSet< RPropertyTypeId > RWipeoutEntity::getStaticPropertyTypeIds()static inline
static void RWipeoutEntity::init()static
PropertyBaseAngle
Section titled “PropertyBaseAngle”static RPropertyTypeId RWipeoutEntity::PropertyBaseAnglestatic
PropertyBlock
Section titled “PropertyBlock”static RPropertyTypeId RWipeoutEntity::PropertyBlockstatic
PropertyBulgeN
Section titled “PropertyBulgeN”static RPropertyTypeId RWipeoutEntity::PropertyBulgeNstatic
PropertyColor
Section titled “PropertyColor”static RPropertyTypeId RWipeoutEntity::PropertyColorstatic
PropertyCustom
Section titled “PropertyCustom”static RPropertyTypeId RWipeoutEntity::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.
PropertyDisplayedColor
Section titled “PropertyDisplayedColor”static RPropertyTypeId RWipeoutEntity::PropertyDisplayedColorstatic
PropertyDrawOrder
Section titled “PropertyDrawOrder”static RPropertyTypeId RWipeoutEntity::PropertyDrawOrderstatic
PropertyFrame
Section titled “PropertyFrame”static RPropertyTypeId RWipeoutEntity::PropertyFramestatic
PropertyHandle
Section titled “PropertyHandle”static RPropertyTypeId RWipeoutEntity::PropertyHandlestatic
PropertyLayer
Section titled “PropertyLayer”static RPropertyTypeId RWipeoutEntity::PropertyLayerstatic
PropertyLinetype
Section titled “PropertyLinetype”static RPropertyTypeId RWipeoutEntity::PropertyLinetypestatic
PropertyLinetypeScale
Section titled “PropertyLinetypeScale”static RPropertyTypeId RWipeoutEntity::PropertyLinetypeScalestatic
PropertyLineweight
Section titled “PropertyLineweight”static RPropertyTypeId RWipeoutEntity::PropertyLineweightstatic
PropertyProtected
Section titled “PropertyProtected”static RPropertyTypeId RWipeoutEntity::PropertyProtectedstatic
PropertySize1
Section titled “PropertySize1”static RPropertyTypeId RWipeoutEntity::PropertySize1static
PropertySize2
Section titled “PropertySize2”static RPropertyTypeId RWipeoutEntity::PropertySize2static
PropertyType
Section titled “PropertyType”static RPropertyTypeId RWipeoutEntity::PropertyTypestatic
PropertyVertexNX
Section titled “PropertyVertexNX”static RPropertyTypeId RWipeoutEntity::PropertyVertexNXstatic
PropertyVertexNY
Section titled “PropertyVertexNY”static RPropertyTypeId RWipeoutEntity::PropertyVertexNYstatic
PropertyVertexNZ
Section titled “PropertyVertexNZ”static RPropertyTypeId RWipeoutEntity::PropertyVertexNZstatic
PropertyWorkingSet
Section titled “PropertyWorkingSet”static RPropertyTypeId RWipeoutEntity::PropertyWorkingSetstatic
RWipeoutData RWipeoutEntity::dataprotected