3.5.0-rc1
Loading...
Searching...
No Matches
tigl::CCPACSDuct Class Reference

#include <CCPACSDuct.h>

Inheritance diagram for tigl::CCPACSDuct:

Public Member Functions

TIGL_EXPORT CCPACSDuct (CCPACSDucts *parent, CTiglUIDManager *uidMgr)
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 void RegisterInvalidationCallback (std::function< void()> const &)
Public Member Functions inherited from tigl::generated::CPACSDuct
TIGL_EXPORT CPACSDuct (CCPACSDucts *parent, CTiglUIDManager *uidMgr)
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
virtual TIGL_EXPORT const boost::optional< CPACSLoftContinuity > & GetLoftContinuity () const
virtual TIGL_EXPORT const std::string & GetName () const
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
TIGL_EXPORT CCPACSDuctsGetParent ()
TIGL_EXPORT const CCPACSDuctsGetParent () const
virtual TIGL_EXPORT boost::optional< CCPACSPositionings > & GetPositionings ()
virtual TIGL_EXPORT const boost::optional< CCPACSPositionings > & GetPositionings () const
virtual TIGL_EXPORT CCPACSPositioningsGetPositionings (CreateIfNotExistsTag)
virtual TIGL_EXPORT CCPACSFuselageSectionsGetSections ()
virtual TIGL_EXPORT const CCPACSFuselageSectionsGetSections () const
virtual TIGL_EXPORT CCPACSFuselageSegmentsGetSegments ()
virtual TIGL_EXPORT const CCPACSFuselageSegmentsGetSegments () const
virtual TIGL_EXPORT boost::optional< CCPACSDuctStructure > & GetStructure ()
virtual TIGL_EXPORT const boost::optional< CCPACSDuctStructure > & GetStructure () const
virtual TIGL_EXPORT CCPACSDuctStructureGetStructure (CreateIfNotExistsTag)
virtual TIGL_EXPORT const boost::optional< TiglSymmetryAxis > & GetSymmetry () const
virtual TIGL_EXPORT boost::optional< CCPACSTransformation > & GetTransformation ()
virtual TIGL_EXPORT const boost::optional< CCPACSTransformation > & GetTransformation () const
virtual TIGL_EXPORT CCPACSTransformationGetTransformation (CreateIfNotExistsTag)
virtual TIGL_EXPORT const std::string & GetUID () const
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
virtual TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath)
virtual TIGL_EXPORT void RemovePositionings ()
virtual TIGL_EXPORT void RemoveStructure ()
virtual TIGL_EXPORT void RemoveTransformation ()
virtual TIGL_EXPORT void SetDescription (const boost::optional< std::string > &value)
virtual TIGL_EXPORT void SetLoftContinuity (const boost::optional< CPACSLoftContinuity > &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 ~CPACSDuct ()
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 (MaybeOptionalPtr< std::string > parentUid, MaybeOptionalPtr< CCPACSTransformationSE3 > trans)
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 bool IsIndependentGeometry () const
virtual ~ITiglGeometricComponent ()

Protected Member Functions

PNamedShape BuildLoft () const override
Protected Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default

Private Member Functions

std::string GetShortShapeName () const
virtual void InvalidateImpl (const boost::optional< std::string > &) const override
void SetFaceTraits (PNamedShape loft) const

Private Attributes

std::vector< std::function< void()> > invalidationCallbacks

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::CPACSDuct
boost::optional< std::string > m_description
 Description.
boost::optional< CPACSLoftContinuitym_loftContinuity
std::string m_name
 Name.
CCPACSDuctsm_parent
boost::optional< CCPACSPositioningsm_positionings
CCPACSFuselageSections m_sections
CCPACSFuselageSegments m_segments
boost::optional< CCPACSDuctStructurem_structure
boost::optional< TiglSymmetryAxism_symmetry
boost::optional< CCPACSTransformationm_transformation
std::string m_uID
CTiglUIDManagerm_uidMgr
Protected Attributes inherited from tigl::CTiglAbstractGeometricComponent
Cache< Bnd_Box, CTiglAbstractGeometricComponentbounding_box
Cache< PNamedShape, CTiglAbstractGeometricComponentloft

Constructor & Destructor Documentation

◆ CCPACSDuct()

TIGL_EXPORT tigl::CCPACSDuct::CCPACSDuct ( CCPACSDucts * parent,
CTiglUIDManager * uidMgr )
explicit

Member Function Documentation

◆ BuildLoft()

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

◆ GetComponentIntent()

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

◆ GetComponentType()

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

◆ GetConfiguration()

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

◆ GetDefaultedUID()

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

◆ GetShortShapeName()

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

◆ InvalidateImpl()

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

Reimplemented from tigl::CTiglUIDObject.

◆ RegisterInvalidationCallback()

TIGL_EXPORT void tigl::CCPACSDuct::RegisterInvalidationCallback ( std::function< void()> const & )

◆ SetFaceTraits()

void tigl::CCPACSDuct::SetFaceTraits ( PNamedShape loft) const
private

Field Documentation

◆ invalidationCallbacks

std::vector<std::function<void()> > tigl::CCPACSDuct::invalidationCallbacks
private

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