#include <CCPACSPositionings.h>
Protected Member Functions | |
| void | Update () |
Private Attributes | |
| bool | invalidated |
Additional Inherited Members | |
| Protected Attributes inherited from tigl::generated::CPACSPositionings | |
| void * | m_parent |
| const std::type_info * | m_parentType |
| std::vector< std::unique_ptr< CCPACSPositioning > > | m_positionings |
| CTiglUIDManager * | m_uidMgr |
| TIGL_EXPORT tigl::CCPACSPositionings::CCPACSPositionings | ( | CCPACSEnginePylon * | parent, |
| CTiglUIDManager * | uidMgr ) |
| TIGL_EXPORT tigl::CCPACSPositionings::CCPACSPositionings | ( | CCPACSFuselage * | parent, |
| CTiglUIDManager * | uidMgr ) |
| TIGL_EXPORT tigl::CCPACSPositionings::CCPACSPositionings | ( | CCPACSDuct * | parent, |
| CTiglUIDManager * | uidMgr ) |
| TIGL_EXPORT tigl::CCPACSPositionings::CCPACSPositionings | ( | CCPACSWing * | parent, |
| CTiglUIDManager * | uidMgr ) |
|
override |
| TIGL_EXPORT void tigl::CCPACSPositionings::Cleanup | ( | ) |
| TIGL_EXPORT CCPACSPositioning & tigl::CCPACSPositionings::CreatePositioning | ( | const std::string & | fromUID, |
| const std::string & | toUID, | ||
| const CTiglPoint & | delta ) |
| TIGL_EXPORT CTiglTransformation tigl::CCPACSPositionings::GetPositioningTransformation | ( | const std::string & | sectionUID | ) |
GetPositioningTransformation returns the positioning matrix for a given section-uid.
| sectionIndex |
| TIGL_EXPORT void tigl::CCPACSPositionings::Invalidate | ( | ) |
|
overridevirtual |
Reimplemented from tigl::generated::CPACSPositionings.
| TIGL_EXPORT void tigl::CCPACSPositionings::SetPositioningTransformation | ( | const std::string & | sectionUID, |
| CTiglPoint | newPosition, | ||
| bool | moveDependentPositionings = false ) |
Set positioning transformation. This function will take a section UID and will set the positioning of this section such that the positioning obtained by this section is equal to the given position. @Remark, If the section has no postioning associated to it, the function will create a new positioning that has no from element.
| sectionUID | The section that will be modified |
| newPosition | The new final position given by positionings for this section. |
| moveDependentPositionings | If true, the sections depending on the positioning of sectionUID will also move. If false, the sections depending on this will stay at the same place. That means that the function will update the parameters of the dependent positonings. |
|
protected |
|
private |
Internal state flag