3.4.0
tigl::CCPACSFuselage Class Reference

#include <CCPACSFuselage.h>

+ Inheritance diagram for tigl::CCPACSFuselage:

Public Member Functions

TIGL_EXPORT CCPACSFuselage (CCPACSFuselages *parent, CTiglUIDManager *uidMgr)
 
TIGL_EXPORT double GetCircumference (int segmentIndex, double eta)
 
TIGL_EXPORT TiglGeometricComponentIntent GetComponentIntent () const override
 
TIGL_EXPORT TiglGeometricComponentType GetComponentType () const override
 
TIGL_EXPORT CCPACSConfigurationGetConfiguration () const
 
TIGL_EXPORT std::string GetDefaultedUID () const override
 
TIGL_EXPORT TiglGetPointBehavior GetGetPointBehavior () const
 
TIGL_EXPORT std::vector< gp_Pnt > GetGuideCurvePoints () const
 
TIGL_EXPORT CCPACSGuideCurveGetGuideCurveSegment (std::string uid)
 
TIGL_EXPORT const CCPACSGuideCurveGetGuideCurveSegment (std::string uid) const
 
TIGL_EXPORT gp_Pnt GetMinumumDistanceToGround (gp_Ax1 RAxis, double angle)
 
TIGL_EXPORT gp_Pnt GetPoint (int segmentIndex, double eta, double zeta)
 
TIGL_EXPORT boost::optional< CTiglTransformationGetPositioningTransformation (const std::string &sectionUID)
 
TIGL_EXPORT CCPACSFuselageSectionGetSection (int index) const
 
TIGL_EXPORT int GetSectionCount () const
 
TIGL_EXPORT TopoDS_Shape GetSectionFace (const std::string section_uid) const
 
TIGL_EXPORT CCPACSFuselageSegmentGetSegment (const int index)
 
TIGL_EXPORT const CCPACSFuselageSegmentGetSegment (const int index) const
 
TIGL_EXPORT CCPACSFuselageSegmentGetSegment (std::string uid)
 
TIGL_EXPORT int GetSegmentCount () const
 
TIGL_EXPORT double GetSurfaceArea ()
 
TIGL_EXPORT double GetVolume ()
 
TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &fuselageXPath) override
 
TIGL_EXPORT void SetGetPointBehavior (TiglGetPointBehavior behavior=asParameterOnSurface)
 
TIGL_EXPORT void SetParentUID (const boost::optional< std::string > &value) override
 
TIGL_EXPORT void SetSymmetryAxis (const TiglSymmetryAxis &axis) override
 
TIGL_EXPORT void SetTransformation (const CCPACSTransformation &transform) override
 
TIGL_EXPORT ~CCPACSFuselage () override
 
- Public Member Functions inherited from tigl::generated::CPACSFuselage
TIGL_EXPORT CPACSFuselage (CCPACSFuselages *parent, CTiglUIDManager *uidMgr)
 
virtual TIGL_EXPORT const boost::optional< CPACSCompartments > & GetCompartments () const
 
virtual TIGL_EXPORT boost::optional< CPACSCompartments > & GetCompartments ()
 
virtual TIGL_EXPORT CPACSCompartmentsGetCompartments (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
 
virtual TIGL_EXPORT const std::string & GetName () const
 
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
 
TIGL_EXPORT CCPACSFuselagesGetParent ()
 
TIGL_EXPORT const CCPACSFuselagesGetParent () const
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetParentUID () const
 
virtual TIGL_EXPORT const boost::optional< CCPACSPositionings > & GetPositionings () const
 
virtual TIGL_EXPORT boost::optional< CCPACSPositionings > & GetPositionings ()
 
virtual TIGL_EXPORT CCPACSPositioningsGetPositionings (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const CCPACSFuselageSectionsGetSections () const
 
virtual TIGL_EXPORT CCPACSFuselageSectionsGetSections ()
 
virtual TIGL_EXPORT const CCPACSFuselageSegmentsGetSegments () const
 
virtual TIGL_EXPORT CCPACSFuselageSegmentsGetSegments ()
 
virtual TIGL_EXPORT const boost::optional< CCPACSFuselageStructure > & GetStructure () const
 
virtual TIGL_EXPORT boost::optional< CCPACSFuselageStructure > & GetStructure ()
 
virtual TIGL_EXPORT CCPACSFuselageStructureGetStructure (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< TiglSymmetryAxis > & GetSymmetry () const
 
virtual TIGL_EXPORT const CCPACSTransformationGetTransformation () const
 
virtual TIGL_EXPORT CCPACSTransformationGetTransformation ()
 
virtual TIGL_EXPORT const std::string & GetUID () const
 
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
 
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
 
virtual TIGL_EXPORT void RemoveCompartments ()
 
virtual TIGL_EXPORT void RemovePositionings ()
 
virtual TIGL_EXPORT void RemoveStructure ()
 
virtual TIGL_EXPORT void SetDescription (const boost::optional< std::string > &value)
 
virtual TIGL_EXPORT void SetName (const std::string &value)
 
virtual TIGL_EXPORT void SetSymmetry (const boost::optional< TiglSymmetryAxis > &value)
 
virtual TIGL_EXPORT void SetUID (const std::string &value)
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSFuselage ()
 
- Public Member Functions inherited from tigl::CTiglReqUIDObject
boost::optional< std::string > GetObjectUID () const
 
virtual ~CTiglReqUIDObject ()=default
 
- Public Member Functions inherited from tigl::CTiglUIDObject
TIGL_EXPORT void Invalidate (const boost::optional< std::string > &source=boost::none) const
 
- Public Member Functions inherited from tigl::ITiglUIDRefObject
virtual ~ITiglUIDRefObject ()=default
 
- Public Member Functions inherited from tigl::CTiglRelativelyPositionedComponent
TIGL_EXPORT CTiglRelativelyPositionedComponent (MaybeOptionalPtr< std::string > parentUid, MaybeOptionalPtr< CCPACSTransformation > trans)
 
TIGL_EXPORT CTiglRelativelyPositionedComponent (MaybeOptionalPtr< std::string > parentUid, MaybeOptionalPtr< CCPACSTransformation > trans, boost::optional< TiglSymmetryAxis > *symmetryAxis)
 
TIGL_EXPORT ChildContainerType GetChildren (bool recursive)
 
TIGL_EXPORT boost::optional< const std::string & > GetParentUID () const
 
virtual TIGL_EXPORT CTiglPoint GetRotation () const
 
virtual TIGL_EXPORT CTiglPoint GetScaling () const
 
TIGL_EXPORT TiglSymmetryAxis GetSymmetryAxis () const override
 
virtual TIGL_EXPORT CTiglTransformation GetTransformationMatrix () const
 
virtual TIGL_EXPORT CTiglPoint GetTranslation () const
 
virtual TIGL_EXPORT ECPACSTranslationType GetTranslationType () const
 
TIGL_EXPORT void Reset () const
 
TIGL_EXPORT void SetParentUID (const std::string &parentUID)
 
- Public Member Functions inherited from tigl::CTiglAbstractGeometricComponent
 CTiglAbstractGeometricComponent ()
 
TIGL_EXPORT Bnd_Box const & GetBoundingBox () const
 
virtual TIGL_EXPORT bool GetIsOn (const gp_Pnt &pnt) const
 
TIGL_EXPORT bool GetIsOnMirrored (const gp_Pnt &pnt) const
 
TIGL_EXPORT PNamedShape GetLoft () const override
 
virtual TIGL_EXPORT PNamedShape GetMirroredLoft () const
 
TIGL_EXPORT void Reset () const
 
- Public Member Functions inherited from tigl::ITiglGeometricComponent
virtual ~ITiglGeometricComponent ()
 

Protected Member Functions

void BuildCleanLoft (PNamedShape &cache) const
 
PNamedShape BuildLoft () const override
 
void Cleanup ()
 
void SetFaceTraits (PNamedShape loft) const
 
- Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
 

Private Member Functions

std::string GetShortShapeName () const
 
void InvalidateImpl (const boost::optional< std::string > &source) const override
 

Private Attributes

BRep_Builder aBuilder
 
TopoDS_Compound aCompound
 
Cache< PNamedShape, CCPACSFuselagecleanLoft
 
CCPACSConfigurationconfiguration
 
FusedElementsContainerType fusedElements
 
TiglGetPointBehavior getPointBehavior {asParameterOnSurface}
 
double myVolume
 

Friends

class CCPACSFuselageSegment
 

Additional Inherited Members

- Public Types inherited from tigl::CTiglRelativelyPositionedComponent
typedef std::vector< CTiglRelativelyPositionedComponent * > ChildContainerType
 
- Protected Types inherited from tigl::CTiglRelativelyPositionedComponent
typedef std::map< int, int > FusedElementsContainerType
 
- Protected Attributes inherited from tigl::generated::CPACSFuselage
boost::optional< CPACSCompartmentsm_compartments
 
boost::optional< std::string > m_description
 Description of fuselage. More...
 
std::string m_name
 Name of fuselage. More...
 
CCPACSFuselagesm_parent
 
boost::optional< std::string > m_parentUID
 UID of part to which the fuselage is mounted (if any) More...
 
boost::optional< CCPACSPositioningsm_positionings
 
CCPACSFuselageSections m_sections
 
CCPACSFuselageSegments m_segments
 
boost::optional< CCPACSFuselageStructurem_structure
 
boost::optional< TiglSymmetryAxism_symmetry
 
CCPACSTransformation m_transformation
 
std::string m_uID
 
CTiglUIDManagerm_uidMgr
 
- Protected Attributes inherited from tigl::CTiglAbstractGeometricComponent
Cache< Bnd_Box, CTiglAbstractGeometricComponentbounding_box
 
Cache< PNamedShape, CTiglAbstractGeometricComponentloft
 

Constructor & Destructor Documentation

◆ CCPACSFuselage()

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

◆ ~CCPACSFuselage()

TIGL_EXPORT tigl::CCPACSFuselage::~CCPACSFuselage ( )
override

Member Function Documentation

◆ BuildCleanLoft()

void tigl::CCPACSFuselage::BuildCleanLoft ( PNamedShape cache) const
protected

◆ BuildLoft()

PNamedShape tigl::CCPACSFuselage::BuildLoft ( ) const
overrideprotectedvirtual

◆ Cleanup()

void tigl::CCPACSFuselage::Cleanup ( )
protected

◆ GetCircumference()

TIGL_EXPORT double tigl::CCPACSFuselage::GetCircumference ( int  segmentIndex,
double  eta 
)

◆ GetComponentIntent()

TIGL_EXPORT TiglGeometricComponentIntent tigl::CCPACSFuselage::GetComponentIntent ( ) const
inlineoverridevirtual

◆ GetComponentType()

TIGL_EXPORT TiglGeometricComponentType tigl::CCPACSFuselage::GetComponentType ( ) const
inlineoverridevirtual

◆ GetConfiguration()

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

◆ GetDefaultedUID()

TIGL_EXPORT std::string tigl::CCPACSFuselage::GetDefaultedUID ( ) const
overridevirtual

◆ GetGetPointBehavior()

TIGL_EXPORT TiglGetPointBehavior tigl::CCPACSFuselage::GetGetPointBehavior ( ) const

◆ GetGuideCurvePoints()

TIGL_EXPORT std::vector<gp_Pnt> tigl::CCPACSFuselage::GetGuideCurvePoints ( ) const

◆ GetGuideCurveSegment() [1/2]

TIGL_EXPORT CCPACSGuideCurve& tigl::CCPACSFuselage::GetGuideCurveSegment ( std::string  uid)

◆ GetGuideCurveSegment() [2/2]

TIGL_EXPORT const CCPACSGuideCurve& tigl::CCPACSFuselage::GetGuideCurveSegment ( std::string  uid) const

◆ GetMinumumDistanceToGround()

TIGL_EXPORT gp_Pnt tigl::CCPACSFuselage::GetMinumumDistanceToGround ( gp_Ax1  RAxis,
double  angle 
)

◆ GetPoint()

TIGL_EXPORT gp_Pnt tigl::CCPACSFuselage::GetPoint ( int  segmentIndex,
double  eta,
double  zeta 
)

◆ GetPositioningTransformation()

TIGL_EXPORT boost::optional<CTiglTransformation> tigl::CCPACSFuselage::GetPositioningTransformation ( const std::string &  sectionUID)

◆ GetSection()

TIGL_EXPORT CCPACSFuselageSection& tigl::CCPACSFuselage::GetSection ( int  index) const

◆ GetSectionCount()

TIGL_EXPORT int tigl::CCPACSFuselage::GetSectionCount ( ) const

◆ GetSectionFace()

TIGL_EXPORT TopoDS_Shape tigl::CCPACSFuselage::GetSectionFace ( const std::string  section_uid) const

◆ GetSegment() [1/3]

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

◆ GetSegment() [2/3]

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

◆ GetSegment() [3/3]

TIGL_EXPORT CCPACSFuselageSegment& tigl::CCPACSFuselage::GetSegment ( std::string  uid)

◆ GetSegmentCount()

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

◆ GetShortShapeName()

std::string tigl::CCPACSFuselage::GetShortShapeName ( ) const
private

◆ GetSurfaceArea()

TIGL_EXPORT double tigl::CCPACSFuselage::GetSurfaceArea ( )

◆ GetVolume()

TIGL_EXPORT double tigl::CCPACSFuselage::GetVolume ( )

◆ InvalidateImpl()

void tigl::CCPACSFuselage::InvalidateImpl ( const boost::optional< std::string > &  source) const
overrideprivatevirtual

Reimplemented from tigl::CTiglUIDObject.

◆ ReadCPACS()

TIGL_EXPORT void tigl::CCPACSFuselage::ReadCPACS ( const TixiDocumentHandle &  tixiHandle,
const std::string &  fuselageXPath 
)
overridevirtual

Reimplemented from tigl::generated::CPACSFuselage.

◆ SetFaceTraits()

void tigl::CCPACSFuselage::SetFaceTraits ( PNamedShape  loft) const
protected

◆ SetGetPointBehavior()

TIGL_EXPORT void tigl::CCPACSFuselage::SetGetPointBehavior ( TiglGetPointBehavior  behavior = asParameterOnSurface)

◆ SetParentUID()

TIGL_EXPORT void tigl::CCPACSFuselage::SetParentUID ( const boost::optional< std::string > &  value)
overridevirtual

Reimplemented from tigl::generated::CPACSFuselage.

◆ SetSymmetryAxis()

TIGL_EXPORT void tigl::CCPACSFuselage::SetSymmetryAxis ( const TiglSymmetryAxis axis)
overridevirtual

◆ SetTransformation()

TIGL_EXPORT void tigl::CCPACSFuselage::SetTransformation ( const CCPACSTransformation transform)
overridevirtual

Friends And Related Function Documentation

◆ CCPACSFuselageSegment

friend class CCPACSFuselageSegment
friend

Field Documentation

◆ aBuilder

BRep_Builder tigl::CCPACSFuselage::aBuilder
private

◆ aCompound

TopoDS_Compound tigl::CCPACSFuselage::aCompound
private

◆ cleanLoft

Cache<PNamedShape, CCPACSFuselage> tigl::CCPACSFuselage::cleanLoft
private

Stores the loft with cutouts (e.g. ducts)

◆ configuration

CCPACSConfiguration* tigl::CCPACSFuselage::configuration
private

Parent configuration

◆ fusedElements

FusedElementsContainerType tigl::CCPACSFuselage::fusedElements
private

Stores already fused segments

◆ getPointBehavior

TiglGetPointBehavior tigl::CCPACSFuselage::getPointBehavior {asParameterOnSurface}
private

◆ myVolume

double tigl::CCPACSFuselage::myVolume
private

Volume of this fuselage


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