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

#include <CCPACSExternalObject.h>

Inheritance diagram for tigl::CCPACSExternalObject:

Public Member Functions

TIGL_EXPORT CCPACSExternalObject (CCPACSExternalObjects *parent, CTiglUIDManager *uidMgr)
TIGL_EXPORT TiglGeometricComponentIntent GetComponentIntent () const override
TIGL_EXPORT TiglGeometricComponentType GetComponentType () const override
TIGL_EXPORT std::string GetDefaultedUID () const override
TIGL_EXPORT const std::string & GetFilePath () const
TIGL_EXPORT void ReadCPACS (const TixiDocumentHandle &tixiHandle, const std::string &objectXPath) override
TIGL_EXPORT void SetParentUID (const boost::optional< std::string > &value) override
TIGL_EXPORT void SetSymmetry (const boost::optional< TiglSymmetryAxis > &value) override
TIGL_EXPORT void SetSymmetryAxis (const TiglSymmetryAxis &axis) override
TIGL_EXPORT void SetTransformation (const CCPACSTransformation &transform) override
Public Member Functions inherited from tigl::generated::CPACSGenericGeometricComponent
TIGL_EXPORT CPACSGenericGeometricComponent (CCPACSExternalObjects *parent, CTiglUIDManager *uidMgr)
virtual TIGL_EXPORT const boost::optional< std::string > & GetDescription () const
virtual TIGL_EXPORT CPACSLinkToFileGetLinkToFile ()
virtual TIGL_EXPORT const CPACSLinkToFileGetLinkToFile () const
virtual TIGL_EXPORT const std::string & GetName () const
virtual TIGL_EXPORT CTiglUIDObjectGetNextUIDParent ()
virtual TIGL_EXPORT const CTiglUIDObjectGetNextUIDParent () const
TIGL_EXPORT CCPACSExternalObjectsGetParent ()
TIGL_EXPORT const CCPACSExternalObjectsGetParent () const
virtual TIGL_EXPORT const boost::optional< std::string > & GetParentUID () const
virtual TIGL_EXPORT const boost::optional< TiglSymmetryAxis > & GetSymmetry () const
virtual TIGL_EXPORT CCPACSTransformationGetTransformation ()
virtual TIGL_EXPORT const CCPACSTransformationGetTransformation () const
virtual TIGL_EXPORT const std::string & GetUID () const
TIGL_EXPORT CTiglUIDManagerGetUIDManager ()
TIGL_EXPORT const CTiglUIDManagerGetUIDManager () const
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)
virtual TIGL_EXPORT void WriteCPACS (const TixiDocumentHandle &tixiHandle, const std::string &xpath) const
virtual TIGL_EXPORT ~CPACSGenericGeometricComponent ()
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 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)
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 ()

Private Member Functions

PNamedShape BuildLoft () const override
 reads in the CAD file
void InvalidateImpl (const boost::optional< std::string > &source) const override

Private Attributes

std::string _filePath

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 Member Functions inherited from tigl::CTiglUIDObject
 ~CTiglUIDObject ()=default
Protected Attributes inherited from tigl::generated::CPACSGenericGeometricComponent
boost::optional< std::string > m_description
 Description of genericGeometricComponent.
CPACSLinkToFile m_linkToFile
std::string m_name
 Name of genericGeometricComponent.
CCPACSExternalObjectsm_parent
boost::optional< std::string > m_parentUID
 UID of part to which the component is mounted (if any).
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

◆ CCPACSExternalObject()

TIGL_EXPORT tigl::CCPACSExternalObject::CCPACSExternalObject ( CCPACSExternalObjects * parent,
CTiglUIDManager * uidMgr )

Member Function Documentation

◆ BuildLoft()

PNamedShape tigl::CCPACSExternalObject::BuildLoft ( ) const
overrideprivatevirtual

reads in the CAD file

Implements tigl::CTiglAbstractGeometricComponent.

◆ GetComponentIntent()

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

◆ GetComponentType()

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

◆ GetDefaultedUID()

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

◆ GetFilePath()

TIGL_EXPORT const std::string & tigl::CCPACSExternalObject::GetFilePath ( ) const

◆ InvalidateImpl()

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

Reimplemented from tigl::CTiglUIDObject.

◆ ReadCPACS()

TIGL_EXPORT void tigl::CCPACSExternalObject::ReadCPACS ( const TixiDocumentHandle & tixiHandle,
const std::string & objectXPath )
overridevirtual

◆ SetParentUID()

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

◆ SetSymmetry()

TIGL_EXPORT void tigl::CCPACSExternalObject::SetSymmetry ( const boost::optional< TiglSymmetryAxis > & value)
overridevirtual

◆ SetSymmetryAxis()

TIGL_EXPORT void tigl::CCPACSExternalObject::SetSymmetryAxis ( const TiglSymmetryAxis & axis)
overridevirtual

◆ SetTransformation()

TIGL_EXPORT void tigl::CCPACSExternalObject::SetTransformation ( const CCPACSTransformation & transform)
overridevirtual

Field Documentation

◆ _filePath

std::string tigl::CCPACSExternalObject::_filePath
private

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