3.4.1
tigl::CCPACSVessel Class Reference

#include <CCPACSVessel.h>

+ Inheritance diagram for tigl::CCPACSVessel:

Data Structures

struct  IsotensoidContour
 Approximated contour of an isotensoid dome section. More...
 

Public Member Functions

TIGL_EXPORT CCPACSVessel (CCPACSVessels *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 CCPACSConfiguration const & GetConfiguration () const
 
TIGL_EXPORT std::string GetDefaultedUID () const override
 
TIGL_EXPORT double GetGeometricVolume ()
 
TIGL_EXPORT std::vector< gp_Pnt > GetGuideCurvePoints () const
 
TIGL_EXPORT CCPACSGuideCurveGetGuideCurveSegment (std::string uid)
 
TIGL_EXPORT const CCPACSGuideCurveGetGuideCurveSegment (std::string uid) const
 
TIGL_EXPORT CCPACSFuselageSection const & GetSection (size_t index) const
 
TIGL_EXPORT CCPACSFuselageSectionGetSection (size_t index)
 
TIGL_EXPORT CCPACSFuselageSection const & GetSection (const std::string &sectionUID) const
 
TIGL_EXPORT CCPACSFuselageSectionGetSection (const std::string &sectionUID)
 
TIGL_EXPORT size_t GetSectionCount () const
 
TIGL_EXPORT TopoDS_Shape GetSectionFace (const std::string sectionUID) const
 
TIGL_EXPORT CCPACSFuselageSegmentGetSegment (const size_t index)
 
TIGL_EXPORT const CCPACSFuselageSegmentGetSegment (const size_t index) const
 
TIGL_EXPORT CCPACSFuselageSegmentGetSegment (std::string uid)
 
TIGL_EXPORT size_t GetSegmentCount () const
 
TIGL_EXPORT double GetSurfaceArea ()
 
TIGL_EXPORT bool HasEllipsoidDome () const
 
TIGL_EXPORT bool HasIsotensoidDome () const
 
TIGL_EXPORT bool HasSphericalDome () const
 
TIGL_EXPORT bool HasTorisphericalDome () const
 
TIGL_EXPORT bool IsVesselViaDesignParameters () const
 
TIGL_EXPORT bool IsVesselViaSegments () const
 
- Public Member Functions inherited from tigl::generated::CPACSVessel
TIGL_EXPORT CPACSVessel (CPACSVessels *parent, CTiglUIDManager *uidMgr)
 
virtual TIGL_EXPORT const boost::optional< double > & GetBurstPressure () const
 
virtual TIGL_EXPORT const boost::optional< double > & GetCylinderLength_choice2 () const
 
virtual TIGL_EXPORT const boost::optional< double > & GetCylinderRadius_choice2 () const
 
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
 
virtual TIGL_EXPORT const boost::optional< CPACSDomeType > & GetDomeType_choice2 () const
 
virtual TIGL_EXPORT boost::optional< CPACSDomeType > & GetDomeType_choice2 ()
 
virtual TIGL_EXPORT CPACSDomeTypeGetDomeType_choice2 (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const std::string & GetName () const
 
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
 
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
 
TIGL_EXPORT CPACSVesselsGetParent ()
 
TIGL_EXPORT const CPACSVesselsGetParent () const
 
virtual TIGL_EXPORT const boost::optional< CPACSFuselageSections > & GetSections_choice1 () const
 
virtual TIGL_EXPORT boost::optional< CPACSFuselageSections > & GetSections_choice1 ()
 
virtual TIGL_EXPORT CPACSFuselageSectionsGetSections_choice1 (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< CCPACSFuselageSegments > & GetSegments_choice1 () const
 
virtual TIGL_EXPORT boost::optional< CCPACSFuselageSegments > & GetSegments_choice1 ()
 
virtual TIGL_EXPORT CCPACSFuselageSegmentsGetSegments_choice1 (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT const boost::optional< CCPACSVesselStructure > & GetStructure () const
 
virtual TIGL_EXPORT boost::optional< CCPACSVesselStructure > & GetStructure ()
 
virtual TIGL_EXPORT CCPACSVesselStructureGetStructure (CreateIfNotExistsTag)
 
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 const boost::optional< CPACSFuelTankVolume > & GetVolume () const
 
virtual TIGL_EXPORT boost::optional< CPACSFuelTankVolume > & GetVolume ()
 
virtual TIGL_EXPORT CPACSFuelTankVolumeGetVolume (CreateIfNotExistsTag)
 
virtual TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath)
 
virtual TIGL_EXPORT void RemoveDomeType_choice2 ()
 
virtual TIGL_EXPORT void RemoveSections_choice1 ()
 
virtual TIGL_EXPORT void RemoveSegments_choice1 ()
 
virtual TIGL_EXPORT void RemoveStructure ()
 
virtual TIGL_EXPORT void RemoveVolume ()
 
virtual TIGL_EXPORT void SetBurstPressure (const boost::optional< double > &value)
 
virtual TIGL_EXPORT void SetCylinderLength_choice2 (const boost::optional< double > &value)
 
virtual TIGL_EXPORT void SetCylinderRadius_choice2 (const boost::optional< double > &value)
 
virtual TIGL_EXPORT void SetDescription (const boost::optional< std::string > &value)
 
virtual TIGL_EXPORT void SetName (const std::string &value)
 
virtual TIGL_EXPORT void SetUID (const std::string &value)
 
TIGL_EXPORT bool ValidateChoices () const
 
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
 
virtual TIGL_EXPORT ~CPACSVessel ()
 
- 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::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 CTiglRelativelyPositionedComponent (tigl::CTiglRelativelyPositionedComponent *parent, MaybeOptionalPtr< CCPACSTransformation > trans)
 
TIGL_EXPORT CTiglRelativelyPositionedComponent (tigl::CTiglRelativelyPositionedComponent *parent, 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 ECPACSTranslationType GetRotationType () const
 
virtual TIGL_EXPORT CTiglPoint GetScaling () const
 
virtual TIGL_EXPORT ECPACSTranslationType GetScalingType () 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)
 
virtual TIGL_EXPORT void SetSymmetryAxis (const TiglSymmetryAxis &axis)
 
virtual TIGL_EXPORT void SetTransformation (const CCPACSTransformation &transform)
 
- 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

PNamedShape BuildLoft () const override
 
void SetFaceTraitsFromParams (PNamedShape loft) const
 
void SetFaceTraitsFromSegments (PNamedShape loft) const
 
- Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
 

Private Member Functions

void BuildShapeFromSegments (TopoDS_Shape &loftShape) const
 
void BuildShapeFromSimpleParameters (TopoDS_Shape &loftShape) const
 
void BuildVesselWire (std::vector< TopoDS_Edge > &edges, BRepBuilderAPI_MakeWire &wire) const
 
void BuildVesselWireEllipsoid (BRepBuilderAPI_MakeWire &wire) const
 
void BuildVesselWireIsotensoid (BRepBuilderAPI_MakeWire &wire) const
 
void BuildVesselWireTorispherical (BRepBuilderAPI_MakeWire &wire) const
 
CCPACSEllipsoidDome const * GetEllipsoidDome () const
 
CCPACSIsotensoidDome const * GetIsotensoidDome () const
 
std::string GetShortShapeName () const
 
CCPACSTorisphericalDome const * GetTorisphericalDome () const
 
void InvalidateImpl (const boost::optional< std::string > &) const override
 

Static Private Attributes

static const std::string _vesselTypeException
 

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::CPACSVessel
boost::optional< double > m_burstPressure
 Burst pressure. More...
 
boost::optional< double > m_cylinderLength_choice2
 Inner length of the cylinder. More...
 
boost::optional< double > m_cylinderRadius_choice2
 Inner radius of the cylinder. More...
 
boost::optional< std::string > m_description
 Description. More...
 
boost::optional< CPACSDomeTypem_domeType_choice2
 
std::string m_name
 Name. More...
 
CPACSVesselsm_parent
 
boost::optional< CPACSFuselageSectionsm_sections_choice1
 
boost::optional< CCPACSFuselageSegmentsm_segments_choice1
 
boost::optional< CCPACSVesselStructurem_structure
 
CCPACSTransformation m_transformation
 
std::string m_uID
 
CTiglUIDManagerm_uidMgr
 
boost::optional< CPACSFuelTankVolumem_volume
 Volume. More...
 
- Protected Attributes inherited from tigl::CTiglAbstractGeometricComponent
Cache< Bnd_Box, CTiglAbstractGeometricComponentbounding_box
 
Cache< PNamedShape, CTiglAbstractGeometricComponentloft
 

Constructor & Destructor Documentation

◆ CCPACSVessel()

TIGL_EXPORT tigl::CCPACSVessel::CCPACSVessel ( CCPACSVessels parent,
CTiglUIDManager uidMgr 
)
explicit

Member Function Documentation

◆ BuildLoft()

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

◆ BuildShapeFromSegments()

void tigl::CCPACSVessel::BuildShapeFromSegments ( TopoDS_Shape &  loftShape) const
private

◆ BuildShapeFromSimpleParameters()

void tigl::CCPACSVessel::BuildShapeFromSimpleParameters ( TopoDS_Shape &  loftShape) const
private

◆ BuildVesselWire()

void tigl::CCPACSVessel::BuildVesselWire ( std::vector< TopoDS_Edge > &  edges,
BRepBuilderAPI_MakeWire &  wire 
) const
private

◆ BuildVesselWireEllipsoid()

void tigl::CCPACSVessel::BuildVesselWireEllipsoid ( BRepBuilderAPI_MakeWire &  wire) const
private

◆ BuildVesselWireIsotensoid()

void tigl::CCPACSVessel::BuildVesselWireIsotensoid ( BRepBuilderAPI_MakeWire &  wire) const
private

◆ BuildVesselWireTorispherical()

void tigl::CCPACSVessel::BuildVesselWireTorispherical ( BRepBuilderAPI_MakeWire &  wire) const
private

◆ GetCircumference()

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

◆ GetComponentIntent()

TIGL_EXPORT TiglGeometricComponentIntent tigl::CCPACSVessel::GetComponentIntent ( ) const
overridevirtual

◆ GetComponentType()

TIGL_EXPORT TiglGeometricComponentType tigl::CCPACSVessel::GetComponentType ( ) const
overridevirtual

◆ GetConfiguration()

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

◆ GetDefaultedUID()

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

◆ GetEllipsoidDome()

CCPACSEllipsoidDome const* tigl::CCPACSVessel::GetEllipsoidDome ( ) const
private

◆ GetGeometricVolume()

TIGL_EXPORT double tigl::CCPACSVessel::GetGeometricVolume ( )

◆ GetGuideCurvePoints()

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

◆ GetGuideCurveSegment() [1/2]

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

◆ GetGuideCurveSegment() [2/2]

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

◆ GetIsotensoidDome()

CCPACSIsotensoidDome const* tigl::CCPACSVessel::GetIsotensoidDome ( ) const
private

◆ GetSection() [1/4]

TIGL_EXPORT CCPACSFuselageSection const& tigl::CCPACSVessel::GetSection ( size_t  index) const

◆ GetSection() [2/4]

TIGL_EXPORT CCPACSFuselageSection& tigl::CCPACSVessel::GetSection ( size_t  index)

◆ GetSection() [3/4]

TIGL_EXPORT CCPACSFuselageSection const& tigl::CCPACSVessel::GetSection ( const std::string &  sectionUID) const

◆ GetSection() [4/4]

TIGL_EXPORT CCPACSFuselageSection& tigl::CCPACSVessel::GetSection ( const std::string &  sectionUID)

◆ GetSectionCount()

TIGL_EXPORT size_t tigl::CCPACSVessel::GetSectionCount ( ) const

◆ GetSectionFace()

TIGL_EXPORT TopoDS_Shape tigl::CCPACSVessel::GetSectionFace ( const std::string  sectionUID) const

◆ GetSegment() [1/3]

TIGL_EXPORT CCPACSFuselageSegment& tigl::CCPACSVessel::GetSegment ( const size_t  index)

◆ GetSegment() [2/3]

TIGL_EXPORT const CCPACSFuselageSegment& tigl::CCPACSVessel::GetSegment ( const size_t  index) const

◆ GetSegment() [3/3]

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

◆ GetSegmentCount()

TIGL_EXPORT size_t tigl::CCPACSVessel::GetSegmentCount ( ) const

◆ GetShortShapeName()

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

◆ GetSurfaceArea()

TIGL_EXPORT double tigl::CCPACSVessel::GetSurfaceArea ( )

◆ GetTorisphericalDome()

CCPACSTorisphericalDome const* tigl::CCPACSVessel::GetTorisphericalDome ( ) const
private

◆ HasEllipsoidDome()

TIGL_EXPORT bool tigl::CCPACSVessel::HasEllipsoidDome ( ) const

◆ HasIsotensoidDome()

TIGL_EXPORT bool tigl::CCPACSVessel::HasIsotensoidDome ( ) const

◆ HasSphericalDome()

TIGL_EXPORT bool tigl::CCPACSVessel::HasSphericalDome ( ) const

◆ HasTorisphericalDome()

TIGL_EXPORT bool tigl::CCPACSVessel::HasTorisphericalDome ( ) const

◆ InvalidateImpl()

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

Reimplemented from tigl::CTiglUIDObject.

◆ IsVesselViaDesignParameters()

TIGL_EXPORT bool tigl::CCPACSVessel::IsVesselViaDesignParameters ( ) const

◆ IsVesselViaSegments()

TIGL_EXPORT bool tigl::CCPACSVessel::IsVesselViaSegments ( ) const

◆ SetFaceTraitsFromParams()

void tigl::CCPACSVessel::SetFaceTraitsFromParams ( PNamedShape  loft) const
protected

◆ SetFaceTraitsFromSegments()

void tigl::CCPACSVessel::SetFaceTraitsFromSegments ( PNamedShape  loft) const
protected

Field Documentation

◆ _vesselTypeException

const std::string tigl::CCPACSVessel::_vesselTypeException
inlinestaticprivate
Initial value:
=
"This method is only available for vessels with segments. No segment found."

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