C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Attribute of reinforsed rib of sheet solid. More...

#include <attr_stamprib_attribute.h>

+ Inheritance diagram for MbStampRibAttribute:
+ Collaboration diagram for MbStampRibAttribute:

Public Member Functions

 MbStampRibAttribute (const MbSpaceItem &item, MbeCreatorType t, size_t index, const SheetRibValues &pars, const MbSNameMaker &n, bool keepItem)
 Constructor.
 
 MbStampRibAttribute (const MbSpaceItem &item, MbeCreatorType t, size_t index, const SheetRibValues &pars, const MbSNameMaker &n, bool keepItem, const c3d::string_t &itemPrompt)
 Constructor.
 
virtual ~MbStampRibAttribute ()
 Destructor.
 
MbeAttributeType AttributeType () const override
 Get subtype of an attribute.
 
MbAttributeDuplicate (MbRegDuplicate *=nullptr) const override
 Create a copy of the element.
 
bool IsSame (const MbAttribute &, double accuracy) const override
 Determine whether objects are equal. More...
 
bool Init (const MbAttribute &) override
 Initialize data.
 
void OnTransformOwner (const MbAttributeContainer &owner, const MbMatrix3D &, MbRegTransform *=nullptr) override
 
void OnMoveOwner (const MbAttributeContainer &owner, const MbVector3D &, MbRegTransform *=nullptr) override
 
void OnRotateOwner (const MbAttributeContainer &owner, const MbAxis3D &, double angle, MbRegTransform *=nullptr) override
 
void OnCopyOwner (const MbAttributeContainer &owner, MbAttributeContainer &other, MbRegDuplicate *=nullptr) override
 
void OnMergeOwner (const MbAttributeContainer &owner, MbAttributeContainer &other) override
 
void GetProperties (MbProperties &) override
 Get properties of the object.
 
size_t SetProperties (const MbProperties &) override
 Set properties of object.
 
MbePrompt GetPropertyName () override
 Get a name of object property.
 
const size_t & GetIndex () const
 Get index of a segment in the contour.
 
const SheetRibValuesGetRibValues () const
 Get operation parameters.
 
const MbSNameMakerGetNameMaker () const
 Get an object defining a name of the operation.
 
const MbVector3DGetBendNormal () const
 Get normal to bend surface.
 
void SetBendNormal (const MbVector3D &n)
 Set normal to bend surface.
 
const MbCartPoint3DGetBendPoint () const
 Get point on bend axis.
 
void SetBendPoint (const MbCartPoint3D &p)
 Set point on bend axis.
 
- Public Member Functions inherited from MbGeomAttribute
 MbGeomAttribute (const MbSpaceItem &item, MbeCreatorType t, bool keepItem)
 Constructor.
 
 MbGeomAttribute (const MbSpaceItem &item, MbeCreatorType t, bool keepItem, const c3d::string_t &itemPrompt)
 Constructor.
 
virtual ~MbGeomAttribute ()
 Destructor.
 
const MbSpaceItemGetSpaceItem () const
 Get geometric object.
 
void ChangeSpaceItem (MbSpaceItem &init)
 Replace geometric object.
 
MbeCreatorType GetOperationType () const
 Get operation type.
 
- Public Member Functions inherited from MbCommonAttribute
virtual ~MbCommonAttribute ()
 Destructor.
 
MbeAttributeType AttributeFamily () const override
 Get attribute type.
 
void OnChangeOwner (const MbAttributeContainer &owner) override
 Perform actions which are not associated with other actions when changing the owner. More...
 
void OnConvertOwner (const MbAttributeContainer &owner, MbAttributeContainer &other) override
 
void OnReplaceOwner (const MbAttributeContainer &owner, MbAttributeContainer &other) override
 
void OnSplitOwner (const MbAttributeContainer &owner, const std::vector< MbAttributeContainer * > &others) override
 
void OnDeleteOwner (const MbAttributeContainer &owner) override
 
const c3d::string_tGetPrompt () const
 Get a prompt of attribute. More...
 
bool IsChangeable () const
 Get an attribute of changeability.
 
- Public Member Functions inherited from MbAttribute
virtual ~MbAttribute ()
 Destructor.
 
OnChangeOwnerAction GetActionForChange () const
 Get behavior of attribute when changing the owner.
 
OnConvertOwnerAction GetActionForConvert () const
 Get behavior of attribute when converting the owner.
 
OnTransformOwnerAction GetActionForTransform () const
 Get behavior of attribute when transforming the owner.
 
OnCopyOwnerAction GetActionForCopy () const
 Get behavior of attribute when copying the owner.
 
OnMergeOwnerAction GetActionForMerge () const
 Get behavior of attribute when merging the owner.
 
OnReplaceOwnerAction GetActionForReplace () const
 Get behavior of attribute when replacing the owner.
 
OnSplitOwnerAction GetActionForSplit () const
 Get behavior of attribute when splitting the owner.
 
OnDeleteOwnerAction GetActionForDelete () const
 Get behavior of attribute when deleting the owner.
 
void SetActionForChange (OnChangeOwnerAction a)
 Set behavior of attribute when changing the owner.
 
void SetActionForConvert (OnConvertOwnerAction a)
 Set behavior of attribute when converting the owner.
 
void SetActionForTransform (OnTransformOwnerAction a)
 Set behavior of attribute when transforming the owner.
 
void SetActionForCopy (OnCopyOwnerAction a)
 Set behavior of attribute when copying the owner.
 
void SetActionForMerge (OnMergeOwnerAction a)
 Set behavior of attribute when merging the owner.
 
void SetActionForReplace (OnReplaceOwnerAction a)
 Set behavior of attribute when replacing the owner.
 
void SetActionForSplit (OnSplitOwnerAction a)
 Set behavior of attribute when splitting the owner.
 
void SetActionForDelete (OnDeleteOwnerAction a)
 Set behavior of attribute when deleting the owner.
 
void InitActions (const MbAttribute &)
 Define behavior of an attribute by another attribute.
 
bool IsFamilyRegistrable () const override
 Whether the object belongs to a registrable family.
 
MbeRefType RefType () const override
 Get registrational type (for copying, duplication)
 
virtual MbeImplicationType ImplicationType () const
 Get attribute container type.
 
bool IsA (MbeAttributeType t) const
 Check an attribute type.
 
- Public Member Functions inherited from MbRefItem
refcount_t GetUseCount () const
 Get count of references (get count of owners of an object).
 
refcount_t AddRef () const
 Increase count of references by one.
 
refcount_t DecRef () const
 Decrease count of references by one.
 
refcount_t Release () const
 Decrease count of references by one and if count of references became zero, then remove itself.
 
- Public Member Functions inherited from TapeBase
 TapeBase (RegistrableRec regs=noRegistrable)
 Constructor.
 
 TapeBase (const TapeBase &)
 Copy-constructor.
 
virtual ~TapeBase ()
 Destructor.
 
RegistrableRec GetRegistrable () const
 Whether the stream class is registrable.
 
void SetRegistrable (RegistrableRec regs=registrable) const
 Set the state of registration of the stream class.
 
virtual const char * GetPureName (const VersionContainer &) const
 Get the class name.
 

Protected Attributes

size_t index
 Index of a segment in the contour at which the inclination direction will be set.
 
SheetRibValues pars
 The operation parameters.
 
SPtr< MbSNameMakernames
 An object defining names generation in the operation.
 
MbVector3D bendNorm
 A normal to bend surface (for internal usage only).
 
MbCartPoint3D bendPoint
 A point on bend axis (for internal usage only).
 
- Protected Attributes inherited from MbGeomAttribute
MbSpaceItemspaceItem
 A geometric object.
 
MbeCreatorType type
 Operation type.
 
bool keepItem
 Save the initial object when copying.
 
- Protected Attributes inherited from MbCommonAttribute
c3d::string_t prompt_
 String of description.
 
bool changeable
 Attribute of editability.
 

Additional Inherited Members

- Public Types inherited from MbAttribute
enum  OnChangeOwnerAction { chn_Self = 0 , chn_Free , chn_Keep , chn_ActCount }
 
enum  OnConvertOwnerAction {
  cnv_Self = 0 , cnv_Free , cnv_Keep , cnv_Copy ,
  cnv_Convert , cnv_ActCount
}
 
enum  OnTransformOwnerAction { trn_Self = 0 , trn_Free , trn_Keep , trn_ActCount }
 
enum  OnCopyOwnerAction {
  cpy_Self = 0 , cpy_Free , cpy_Keep , cpy_Copy ,
  cpy_ActCount
}
 
enum  OnMergeOwnerAction {
  mrg_Self = 0 , mrg_Free , mrg_Keep , mrg_KeepAll ,
  mrg_KeepRep , mrg_ActCount
}
 
enum  OnReplaceOwnerAction {
  rep_Self = 0 , rep_Free , rep_Keep , rep_KeepAll ,
  rep_KeepRep , rep_ActCount
}
 
enum  OnSplitOwnerAction {
  spl_Self = 0 , spl_Free , spl_Keep , spl_Copy ,
  spl_ActCount
}
 
enum  OnDeleteOwnerAction { del_Self = 0 , del_Free , del_ActCount }
 
- Protected Member Functions inherited from MbCommonAttribute
 MbCommonAttribute (const MbCommonAttribute &)
 Constructor.
 
 MbCommonAttribute (const c3d::string_t &prompt, const bool change)
 Constructor.
 
 MbCommonAttribute (const bool change)
 Constructor.
 
- Protected Member Functions inherited from MbAttribute
 MbAttribute ()
 Constructor without parameters for inheritors.
 
 MbAttribute (const MbAttribute &)
 Copy constructor for inheritors.
 
- Protected Member Functions inherited from MbRefItem
 MbRefItem ()
 Constructor without parameters.
 

Detailed Description

Attribute of reinforsed rib of sheet solid.

Attribute of reinforsed rib of sheet solid. Two-dimensional contour of a rib and a local coordinate system the two-dimensional contour is located in XY plane of are stored in MbGeomAttribute

Member Function Documentation

◆ IsSame()

bool MbStampRibAttribute::IsSame ( const MbAttribute item,
double  accuracy 
) const
overridevirtual

Determine whether objects are equal.

Objects of the same types with similar (equal) data are considered to be equal.

Parameters
[in]item- Objects for comparison.
[in]accuracy- The accuracy to compare.
Returns
Whether objects are equal.

Reimplemented from MbGeomAttribute.

◆ OnTransformOwner()

void MbStampRibAttribute::OnTransformOwner ( const MbAttributeContainer owner,
const MbMatrix3D ,
MbRegTransform = nullptr 
)
overridevirtual

Perform actions when transforming the owner,
This function is called after transforming the owning object in a case when GetActionForTransform() == trn_Self. The registrator of transformed objects may be passed as input parameter.

Reimplemented from MbGeomAttribute.

◆ OnMoveOwner()

void MbStampRibAttribute::OnMoveOwner ( const MbAttributeContainer owner,
const MbVector3D ,
MbRegTransform = nullptr 
)
overridevirtual

Perform actions when moving the owner.
This function is called after moving the owning object in a case when GetActionForTransform() == trn_Self. The registrator of transformed objects may be passed as input parameter.

Reimplemented from MbGeomAttribute.

◆ OnRotateOwner()

void MbStampRibAttribute::OnRotateOwner ( const MbAttributeContainer owner,
const MbAxis3D ,
double  angle,
MbRegTransform = nullptr 
)
overridevirtual

Perform actions when rotating the owner.
This function is called after rotating the owning object in a case when GetActionForTransform() == trn_Self. The registrator of transformed objects may be passed as input parameter.

Reimplemented from MbGeomAttribute.

◆ OnCopyOwner()

void MbStampRibAttribute::OnCopyOwner ( const MbAttributeContainer owner,
MbAttributeContainer other,
MbRegDuplicate = nullptr 
)
overridevirtual

Perform actions when copying the owner.
This function is called after copying the owning object in a case when GetActionForCopy() == cpy_Self.
The following objects are passed as input parameters: the owning object copy and registrator of copied objects.

Reimplemented from MbGeomAttribute.

◆ OnMergeOwner()

void MbStampRibAttribute::OnMergeOwner ( const MbAttributeContainer owner,
MbAttributeContainer other 
)
overridevirtual

Perform actions when merging the owner.
This function is called before merging the owner in a case when GetActionForMerge() == mrg_Self.
The object which will be absorbed is passed as input parameter.

Reimplemented from MbGeomAttribute.


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