3.4.0
tigl::CCPACSFuselageSegments Class Reference

#include <CCPACSFuselageSegments.h>

+ Inheritance diagram for tigl::CCPACSFuselageSegments:

Public Member Functions

TIGL_EXPORT CCPACSFuselageSegments (CCPACSDuct *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSFuselageSegments (CCPACSFuselage *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CCPACSConfiguration const & GetConfiguration () const
 
TIGL_EXPORT std::vector< std::string > GetElementUIDsInOrder () const
 
TIGL_EXPORT const TopoDS_Compound & GetGuideCurveWires () const
 
TIGL_EXPORT CTiglRelativelyPositionedComponent const * GetParentComponent () const
 
TIGL_EXPORT CCPACSFuselageSegmentGetSegment (int index)
 
TIGL_EXPORT const CCPACSFuselageSegmentGetSegment (int index) const
 
TIGL_EXPORT CCPACSFuselageSegmentGetSegment (const std::string &segmentUID)
 
TIGL_EXPORT int GetSegmentCount () const
 
TIGL_EXPORT CCPACSFuselageSegmentGetSegmentFromTo (const std::string &fromElemUID, const std::string toElementUID)
 
TIGL_EXPORT void Invalidate (const boost::optional< std::string > &source=boost::none) const
 
bool NeedReordering () const
 
TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) override
 
void ReorderSegments ()
 
TIGL_EXPORT CCPACSFuselageSegmentSplitSegment (const std::string &segmentToSplit, const std::string &splitterElement)
 
- Public Member Functions inherited from tigl::generated::CPACSFuselageSegments
virtual TIGL_EXPORT CCPACSFuselageSegmentAddSegment ()
 
TIGL_EXPORT CPACSFuselageSegments (CCPACSDuct *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT CPACSFuselageSegments (CCPACSFuselage *parent, CTiglUIDManager *uidMgr)
 
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
 
template<typename P >
P * GetParent ()
 
template<typename P >
const P * GetParent () const
 
virtual TIGL_EXPORT const std::vector< std::unique_ptr< CCPACSFuselageSegment > > & GetSegments () const
 
virtual TIGL_EXPORT std::vector< std::unique_ptr< CCPACSFuselageSegment > > & GetSegments ()
 
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
 
template<typename P >
bool IsParent () const
 
virtual TIGL_EXPORT void RemoveSegment (CCPACSFuselageSegment &ref)
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSFuselageSegments ()
 

Private Member Functions

void BuildGuideCurves (TopoDS_Compound &cache) const
 

Private Attributes

Cache< TopoDS_Compound, CCPACSFuselageSegmentsguideCurves
 

Additional Inherited Members

- Protected Attributes inherited from tigl::generated::CPACSFuselageSegments
void * m_parent
 
const std::type_info * m_parentType
 
std::vector< std::unique_ptr< CCPACSFuselageSegment > > m_segments
 
CTiglUIDManagerm_uidMgr
 

Constructor & Destructor Documentation

◆ CCPACSFuselageSegments() [1/2]

TIGL_EXPORT tigl::CCPACSFuselageSegments::CCPACSFuselageSegments ( CCPACSDuct parent,
CTiglUIDManager uidMgr 
)

◆ CCPACSFuselageSegments() [2/2]

TIGL_EXPORT tigl::CCPACSFuselageSegments::CCPACSFuselageSegments ( CCPACSFuselage parent,
CTiglUIDManager uidMgr 
)

Member Function Documentation

◆ BuildGuideCurves()

void tigl::CCPACSFuselageSegments::BuildGuideCurves ( TopoDS_Compound &  cache) const
private

◆ GetConfiguration()

TIGL_EXPORT CCPACSConfiguration const& tigl::CCPACSFuselageSegments::GetConfiguration ( ) const

◆ GetElementUIDsInOrder()

TIGL_EXPORT std::vector<std::string> tigl::CCPACSFuselageSegments::GetElementUIDsInOrder ( ) const

◆ GetGuideCurveWires()

TIGL_EXPORT const TopoDS_Compound& tigl::CCPACSFuselageSegments::GetGuideCurveWires ( ) const

◆ GetParentComponent()

TIGL_EXPORT CTiglRelativelyPositionedComponent const* tigl::CCPACSFuselageSegments::GetParentComponent ( ) const

◆ GetSegment() [1/3]

TIGL_EXPORT CCPACSFuselageSegment& tigl::CCPACSFuselageSegments::GetSegment ( int  index)

◆ GetSegment() [2/3]

TIGL_EXPORT const CCPACSFuselageSegment& tigl::CCPACSFuselageSegments::GetSegment ( int  index) const

◆ GetSegment() [3/3]

TIGL_EXPORT CCPACSFuselageSegment& tigl::CCPACSFuselageSegments::GetSegment ( const std::string &  segmentUID)

◆ GetSegmentCount()

TIGL_EXPORT int tigl::CCPACSFuselageSegments::GetSegmentCount ( ) const

◆ GetSegmentFromTo()

TIGL_EXPORT CCPACSFuselageSegment& tigl::CCPACSFuselageSegments::GetSegmentFromTo ( const std::string &  fromElemUID,
const std::string  toElementUID 
)

◆ Invalidate()

TIGL_EXPORT void tigl::CCPACSFuselageSegments::Invalidate ( const boost::optional< std::string > &  source = boost::none) const

◆ NeedReordering()

bool tigl::CCPACSFuselageSegments::NeedReordering ( ) const

◆ ReadCPACS()

TIGL_EXPORT void tigl::CCPACSFuselageSegments::ReadCPACS ( const TixiDocumentHandle &  tixiHandle,
const std::string &  xpath 
)
overridevirtual

◆ ReorderSegments()

void tigl::CCPACSFuselageSegments::ReorderSegments ( )

◆ SplitSegment()

TIGL_EXPORT CCPACSFuselageSegment& tigl::CCPACSFuselageSegments::SplitSegment ( const std::string &  segmentToSplit,
const std::string &  splitterElement 
)

Split the segment into two segments. The splitter element will be used as the junction between the two segments.

Remarks
Only the segment is split we do not care about the position of the splitter.
Parameters
segmentToSplitthe uid of the segment to split
splitterElementthe uid of the element to be used to connect the two segments
Returns
the new created segment

Field Documentation

◆ guideCurves

Cache<TopoDS_Compound, CCPACSFuselageSegments> tigl::CCPACSFuselageSegments::guideCurves
private

The documentation for this class was generated from the following file: