Public Member Functions |
| virtual RUcs * | clone () const |
virtual QPair< QVariant,
RPropertyAttributes > | getProperty (RPropertyTypeId propertyTypeId, bool humanReadable=false, bool noAttributes=false) |
| RVector | getZAxisDirection () |
| virtual bool | isSelectedForPropertyEditing () |
| RVector | mapFromUcs (const RVector &positionUcs) |
| | Maps the given UCS (user coordinate system) position to an absolute WCS (world coordinate system) position.
|
| RVector | mapToUcs (const RVector &positionWcs) |
| | Maps the given WCS position to a UCS position.
|
| | RUcs () |
| | RUcs (RDocument *document, const QString &name, const RVector &origin, const RVector &xAxisDirection, const RVector &yAxisDirection) |
| void | setOrigin (const RVector &o) |
| virtual bool | setProperty (RPropertyTypeId propertyTypeId, const QVariant &value) |
| | Sets the given property to the given value.
|
| void | setXAxisDirection (const RVector &x) |
| void | setYAxisDirection (const RVector &y) |
| virtual | ~RUcs () |
| virtual int | getComplexity () const |
| QMap< QString, QVariant > | getCustomProperties () const |
| QVariant | getCustomProperty (const QString &key, const QVariant &defaultValue=RDEFAULT_QVARIANT) |
| RDocument * | getDocument () |
| const RDocument * | getDocument () const |
| RObject::Handle | getHandle () const |
| RObject::Id | getId () const |
| virtual QSet< RPropertyTypeId > | getPropertyTypeIds () const |
| virtual bool | hasPropertyType (RPropertyTypeId propertyTypeId) |
| bool | isUndone () const |
| void | removeCustomProperty (const QString &key) |
| | Removes the custom property with the given name.
|
| | RObject (RDocument *document=NULL, Id id=INVALID_ID) |
| void | setCustomProperty (const QString &key, const QVariant &value) |
| | Sets a custom property with the given name.
|
| void | setDocument (RDocument *document) |
| virtual void | setUndone (bool on) |
| virtual | ~RObject () |
Additional Inherited Members |
| typedef int | Handle |
| typedef int | Id |
| enum | XYZ { X,
Y,
Z
} |
| virtual void | print (QDebug dbg) const |
| | Stream operator for QDebug.
|
| void | setHandle (RObject::Handle h) |
| void | setId (RObject::Id id) |
| bool | setMember (QList< double > &variable, const QVariant &value, bool condition) |
| static bool | setMember (QString &variable, const QVariant &value, bool condition=true) |
| | Sets the given property.
|
| 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 (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 | 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) |
Represents a user coordinate system (UCS) in a drawing.
The current UCS of a drawing defines the current workplane and coordinate system that is being used for all input.
- Scriptable:
- This class is wrapped for script environments.
- Shared Pointer Support:
- Script wrappers of this class support wrapping in QSharedPointer.