![]() |
NDEVR
API Documentation
|
Base information class for all design objects in the NDEVR property database. More...
Public Types | |
| enum | DesignObjectType : uint01 |
Protected Member Functions | |
| DesignInfo (DesignObjectBase *base) | |
| Creates an new design object within the given DesignObjectBase. | |
| DesignInfo (uint04 index, DesignObjectBase *base) | |
| Sets a DesignObject up to be a pointer to an existing object in the database. | |
| void | _setDesignVisible (bool is_visible) |
| Sets the spatial visibility of this design object and propagates the change through the design hierarchy. | |
| void | _setTransform (const Matrix< fltp08 > &transform) |
| Sets the 4x4 transform matrix for this design object and propagates the change through the design hierarchy. | |
Protected Attributes | |
| DesignObjectBase * | m_base = nullptr |
| Pointer to the owning DesignObjectBase property database. | |
| uint04 | m_design_index = Constant<uint04>::Invalid |
| Index of the parent design that owns this object. | |
| uint04 | m_index = Constant<uint04>::Invalid |
| Row index of this object within the property database. | |
Base information class for all design objects in the NDEVR property database.
Stores the index, design index, and a pointer to the underlying DesignObjectBase that holds the column-based property data. Subclasses use PropertyInterface to read and write typed properties.
Definition at line 12 of file DesignProperties.h.
Enum representing the type of object a design object could be. A design object can be checked for inheritance using the isDesignType function.
Definition at line 23 of file DesignProperties.h.
|
protected |
Creates an new design object within the given DesignObjectBase.
This object is appended to the end of the DesignObjectBase data structure and values are setup to defaults.
Author: Tyler Parke
Date: 2018-03-22
|
protected |
Sets a DesignObject up to be a pointer to an existing object in the database.
If the index is invalid behavior is undefined.
Author: Tyler Parke
Date: 2018-03-22
|
protected |
Sets the spatial visibility of this design object and propagates the change through the design hierarchy.
| [in] | is_visible | Whether the design object should be spatially visible. |
Sets the 4x4 transform matrix for this design object and propagates the change through the design hierarchy.
| [in] | transform | The 4x4 transformation matrix to apply. |