Skip to content

RWipeoutEntity

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

Polyline entity.

Scriptable: This class is available in script environments.

Shared Pointer Support: Objects can be used in QSharedPointer.

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) const
Exports 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 RS::EntityType getRtti()
static QSet< RPropertyTypeId > getStaticPropertyTypeIds()
static void init()
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
RWipeoutData data

RWipeoutEntity::RWipeoutEntity(const RWipeoutEntity &other)

RWipeoutEntity::RWipeoutEntity(RDocument *document, const RWipeoutData &data)

virtual RWipeoutEntity::~RWipeoutEntity()

virtual

void RWipeoutEntity::appendVertex(const RVector &vertex, double bulge=0.0, double w1=0.0, double w2=0.0)

inline

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

virtual inline const

Reimplemented from clone.

QSharedPointer< RWipeoutEntity > RWipeoutEntity::cloneToWipeoutEntity() const

inline const

int RWipeoutEntity::countVertices() const

inline const

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

virtual 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.

double RWipeoutEntity::getBulgeAt(int i) const

inline const

virtual RWipeoutData & RWipeoutEntity::getData()

virtual inline

Returns: Reference to the data object of the entity.

Reimplemented from getData.

virtual const RWipeoutData & RWipeoutEntity::getData() const

virtual inline const

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

Reimplemented from getData.

RVector RWipeoutEntity::getEndPoint() const

inline const

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.

bool RWipeoutEntity::getShowFrame() const

inline const

RVector RWipeoutEntity::getStartPoint() const

inline const

RVector RWipeoutEntity::getVertexAt(int i) const

inline const

void RWipeoutEntity::removeLastVertex()

inline

void RWipeoutEntity::setBulgeAt(int i, double b)

inline

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.

void RWipeoutEntity::setShape(const RPolyline &l)

void RWipeoutEntity::setShowFrame(bool on)

inline

void RWipeoutEntity::setVertexAt(int i, const RVector &v)

inline

static RS::EntityType RWipeoutEntity::getRtti()

static inline

static QSet< RPropertyTypeId > RWipeoutEntity::getStaticPropertyTypeIds()

static inline

static void RWipeoutEntity::init()

static

static RPropertyTypeId RWipeoutEntity::PropertyBaseAngle

static

static RPropertyTypeId RWipeoutEntity::PropertyBlock

static

static RPropertyTypeId RWipeoutEntity::PropertyBulgeN

static

static RPropertyTypeId RWipeoutEntity::PropertyColor

static

static RPropertyTypeId RWipeoutEntity::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 RWipeoutEntity::PropertyDisplayedColor

static

static RPropertyTypeId RWipeoutEntity::PropertyDrawOrder

static

static RPropertyTypeId RWipeoutEntity::PropertyFrame

static

static RPropertyTypeId RWipeoutEntity::PropertyHandle

static

static RPropertyTypeId RWipeoutEntity::PropertyLayer

static

static RPropertyTypeId RWipeoutEntity::PropertyLinetype

static

static RPropertyTypeId RWipeoutEntity::PropertyLinetypeScale

static

static RPropertyTypeId RWipeoutEntity::PropertyLineweight

static

static RPropertyTypeId RWipeoutEntity::PropertyProtected

static

static RPropertyTypeId RWipeoutEntity::PropertySize1

static

static RPropertyTypeId RWipeoutEntity::PropertySize2

static

static RPropertyTypeId RWipeoutEntity::PropertyType

static

static RPropertyTypeId RWipeoutEntity::PropertyVertexNX

static

static RPropertyTypeId RWipeoutEntity::PropertyVertexNY

static

static RPropertyTypeId RWipeoutEntity::PropertyVertexNZ

static

static RPropertyTypeId RWipeoutEntity::PropertyWorkingSet

static

RWipeoutData RWipeoutEntity::data

protected