3.4.0
tigl::CTiglRelativelyPositionedComponent Class Reference

#include <CTiglRelativelyPositionedComponent.h>

+ Inheritance diagram for tigl::CTiglRelativelyPositionedComponent:

Public Types

typedef std::vector< CTiglRelativelyPositionedComponent * > ChildContainerType
 

Public Member Functions

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)
 
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 TIGL_EXPORT TiglGeometricComponentIntent GetComponentIntent () const =0
 
virtual TIGL_EXPORT TiglGeometricComponentType GetComponentType () const =0
 
virtual TIGL_EXPORT std::string GetDefaultedUID () const =0
 
virtual ~ITiglGeometricComponent ()
 

Protected Types

typedef std::map< int, int > FusedElementsContainerType
 

Private Member Functions

TIGL_EXPORT void AddChild (CTiglRelativelyPositionedComponent &child)
 
TIGL_EXPORT void ClearChildren ()
 
TIGL_EXPORT boost::optional< const CCPACSTransformation & > GetTransform () const
 
TIGL_EXPORT void SetParent (CTiglRelativelyPositionedComponent &parent)
 

Private Attributes

ChildContainerType _children
 
CTiglRelativelyPositionedComponent_parent
 
MaybeOptionalPtr< std::string > _parentUID
 UID of the parent of this component, if supported by derived type. More...
 
boost::optional< TiglSymmetryAxis > * _symmetryAxis
 
MaybeOptionalPtr< CCPACSTransformation_transformation
 

Friends

class CTiglUIDManager
 

Additional Inherited Members

- Protected Member Functions inherited from tigl::CTiglAbstractGeometricComponent
virtual PNamedShape BuildLoft () const =0
 
- Protected Attributes inherited from tigl::CTiglAbstractGeometricComponent
Cache< Bnd_Box, CTiglAbstractGeometricComponentbounding_box
 
Cache< PNamedShape, CTiglAbstractGeometricComponentloft
 

Member Typedef Documentation

◆ ChildContainerType

◆ FusedElementsContainerType

Constructor & Destructor Documentation

◆ CTiglRelativelyPositionedComponent() [1/2]

TIGL_EXPORT tigl::CTiglRelativelyPositionedComponent::CTiglRelativelyPositionedComponent ( MaybeOptionalPtr< std::string >  parentUid,
MaybeOptionalPtr< CCPACSTransformation trans 
)
explicit

◆ CTiglRelativelyPositionedComponent() [2/2]

TIGL_EXPORT tigl::CTiglRelativelyPositionedComponent::CTiglRelativelyPositionedComponent ( MaybeOptionalPtr< std::string >  parentUid,
MaybeOptionalPtr< CCPACSTransformation trans,
boost::optional< TiglSymmetryAxis > *  symmetryAxis 
)
explicit

Member Function Documentation

◆ AddChild()

TIGL_EXPORT void tigl::CTiglRelativelyPositionedComponent::AddChild ( CTiglRelativelyPositionedComponent child)
private

◆ ClearChildren()

TIGL_EXPORT void tigl::CTiglRelativelyPositionedComponent::ClearChildren ( )
private

◆ GetChildren()

TIGL_EXPORT ChildContainerType tigl::CTiglRelativelyPositionedComponent::GetChildren ( bool  recursive)

◆ GetParentUID()

TIGL_EXPORT boost::optional<const std::string&> tigl::CTiglRelativelyPositionedComponent::GetParentUID ( ) const

◆ GetRotation()

virtual TIGL_EXPORT CTiglPoint tigl::CTiglRelativelyPositionedComponent::GetRotation ( ) const
virtual

◆ GetScaling()

virtual TIGL_EXPORT CTiglPoint tigl::CTiglRelativelyPositionedComponent::GetScaling ( ) const
virtual

◆ GetSymmetryAxis()

TIGL_EXPORT TiglSymmetryAxis tigl::CTiglRelativelyPositionedComponent::GetSymmetryAxis ( ) const
overridevirtual

◆ GetTransform()

TIGL_EXPORT boost::optional<const CCPACSTransformation&> tigl::CTiglRelativelyPositionedComponent::GetTransform ( ) const
private

◆ GetTransformationMatrix()

virtual TIGL_EXPORT CTiglTransformation tigl::CTiglRelativelyPositionedComponent::GetTransformationMatrix ( ) const
virtual

◆ GetTranslation()

virtual TIGL_EXPORT CTiglPoint tigl::CTiglRelativelyPositionedComponent::GetTranslation ( ) const
virtual

Reimplemented in tigl::CCPACSRotor.

◆ GetTranslationType()

virtual TIGL_EXPORT ECPACSTranslationType tigl::CTiglRelativelyPositionedComponent::GetTranslationType ( ) const
virtual

◆ Reset()

TIGL_EXPORT void tigl::CTiglRelativelyPositionedComponent::Reset ( ) const

◆ SetParent()

TIGL_EXPORT void tigl::CTiglRelativelyPositionedComponent::SetParent ( CTiglRelativelyPositionedComponent parent)
private

◆ SetParentUID()

TIGL_EXPORT void tigl::CTiglRelativelyPositionedComponent::SetParentUID ( const std::string &  parentUID)

◆ SetSymmetryAxis()

virtual TIGL_EXPORT void tigl::CTiglRelativelyPositionedComponent::SetSymmetryAxis ( const TiglSymmetryAxis axis)
virtual

◆ SetTransformation()

virtual TIGL_EXPORT void tigl::CTiglRelativelyPositionedComponent::SetTransformation ( const CCPACSTransformation transform)
virtual

Friends And Related Function Documentation

◆ CTiglUIDManager

friend class CTiglUIDManager
friend

Field Documentation

◆ _children

ChildContainerType tigl::CTiglRelativelyPositionedComponent::_children
private

◆ _parent

CTiglRelativelyPositionedComponent* tigl::CTiglRelativelyPositionedComponent::_parent
private

◆ _parentUID

MaybeOptionalPtr<std::string> tigl::CTiglRelativelyPositionedComponent::_parentUID
private

UID of the parent of this component, if supported by derived type.

◆ _symmetryAxis

boost::optional<TiglSymmetryAxis>* tigl::CTiglRelativelyPositionedComponent::_symmetryAxis
private

◆ _transformation

MaybeOptionalPtr<CCPACSTransformation> tigl::CTiglRelativelyPositionedComponent::_transformation
private

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