CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
AEC2dSectionHatchRegion Class Reference

#include <AEC2dSectionHatchRegion.h>

Inheritance diagram for AEC2dSectionHatchRegion:
AECImpObj OdRxObjectImpl< OdRxObject, AECImpObj > OdRxObject

Classes

union  Flags
 

Public Types

enum  ApplyTo {
  eSurfaceHatchOnly = 1 , eSectionHatchOnly = 2 , eSurfaceAndSectionHatch = eSurfaceHatchOnly | eSectionHatchOnly , eEdgeLineworkOnly = 4 ,
  eAllLinework = eSurfaceHatchOnly | eSectionHatchOnly | eEdgeLineworkOnly
}
 
enum  Purpose { eLimit = 0 , eErase = 1 }
 

Public Member Functions

OdUInt32 GetIndex () const
 
void SetIndex (OdUInt32 iIndex)
 
ApplyTo GetApplyTo () const
 
void SetApplyTo (ApplyTo eApplyTo)
 
Purpose GetPurpose () const
 
void SetPurpose (Purpose ePurpose)
 
AECGeProfileSubPtr GetBoundary () const
 
bool IsAppliedToSectionShrinkwrapLinework () const
 
void SetIsAppliedToSectionShrinkwrapLinework (bool bApplied)
 
bool IsAppliedToSectionShrinkwrapHatching () const
 
void SetIsAppliedToSectionShrinkwrapHatching (bool bApplied)
 
OdUInt32 GetMaterialCount () const
 
OdDbObjectId GetMaterialByIndex (OdUInt32 iIndex) const
 
void AddMaterial (const OdDbObjectId &idMaterial)
 
void RemoveMaterial (const OdDbObjectId &idMaterial)
 
bool IsAppliedTo (const OdDbObjectId &idMaterial) const
 
- Public Member Functions inherited from AECImpObj
const OdStringGetDescription () const
 
void SetDescription (const OdString &strDescription)
 
virtual void onObjectLoaded ()
 
virtual void SubClose ()
 DOM.
 
OdRxObjectGetOwner () const
 
OdRxObjectGetOwner (OdRxClass *pClass) const
 
void addRefSubPtr ()
 
void releaseSubPtr ()
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
OdDbDatabasedatabase () const
 
void copyFrom (const OdRxObject *pOther)
 
virtual OdUInt16 minSupportedVersion () const
 
void SetOwner (OdDbObject *pOwner)
 DOM.
 
void SetOwner (AECImpObj *pOwner)
 DOM.
 
class AECSIBase * GetImpl () const
 DOM.
 
virtual OdResult dwgInFieldsEx20 (AECDbDwgFiler *pFiler)
 DOM.
 
virtual OdResult dwgInFieldsEx1 (AECDbDwgFiler *pFiler)
 DOM.
 
- Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 OdRxObjectImpl ()
 
void addRef ()
 
void release ()
 
long numRefs () const
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Protected Attributes

OdUInt32 m_iIndex
 
Flags m_Flags
 
AECGeProfilePtr m_pBoundary
 
std::vector< OdDbHardPointerIdm_aMaterials
 
- Protected Attributes inherited from AECImpObj
class AECSIBase * m_pImp
 DOM.
 
OdUInt16 m_iMinSupportedVersion
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
static OdSmartPtr< AECImpObjcreateObject ()
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj >
 ODRX_HEAP_OPERATORS ()
 

Detailed Description

2D Section Hatch Region.

<group TA_API_Subobjects_Section>

Definition at line 35 of file AEC2dSectionHatchRegion.h.

Member Enumeration Documentation

◆ ApplyTo

Enumerates types of hatch boundary application type.

Enumerator
eSurfaceHatchOnly 
eSectionHatchOnly 
eSurfaceAndSectionHatch 
eEdgeLineworkOnly 
eAllLinework 

Definition at line 43 of file AEC2dSectionHatchRegion.h.

◆ Purpose

Type of boundary.

Enumerator
eLimit 
eErase 

Definition at line 55 of file AEC2dSectionHatchRegion.h.

Member Function Documentation

◆ AddMaterial()

void AEC2dSectionHatchRegion::AddMaterial ( const OdDbObjectId idMaterial)

Adds material.

◆ GetApplyTo()

ApplyTo AEC2dSectionHatchRegion::GetApplyTo ( ) const

Returns how hatch region is applied.

◆ GetBoundary()

AECGeProfileSubPtr AEC2dSectionHatchRegion::GetBoundary ( ) const

Returns boundary.

◆ GetIndex()

OdUInt32 AEC2dSectionHatchRegion::GetIndex ( ) const

Returns index of hatch boundary.

◆ GetMaterialByIndex()

OdDbObjectId AEC2dSectionHatchRegion::GetMaterialByIndex ( OdUInt32  iIndex) const

Returns material hatch boundary is applied to by index.

◆ GetMaterialCount()

OdUInt32 AEC2dSectionHatchRegion::GetMaterialCount ( ) const

Returns the number of materials hatch boundary is applied to.

◆ GetPurpose()

Purpose AEC2dSectionHatchRegion::GetPurpose ( ) const

Returns type of boundary.

Remarks
Erase clips inner area and Limit clips outer area.

◆ IsAppliedTo()

bool AEC2dSectionHatchRegion::IsAppliedTo ( const OdDbObjectId idMaterial) const

Returns whether hatch boundary is applied to specified material.

◆ IsAppliedToSectionShrinkwrapHatching()

bool AEC2dSectionHatchRegion::IsAppliedToSectionShrinkwrapHatching ( ) const

Returns whether hatch boundary is applied to section shrinkwrap hatching.

◆ IsAppliedToSectionShrinkwrapLinework()

bool AEC2dSectionHatchRegion::IsAppliedToSectionShrinkwrapLinework ( ) const

Returns whether hatch boundary is applied to section shrinkwrap linework.

◆ RemoveMaterial()

void AEC2dSectionHatchRegion::RemoveMaterial ( const OdDbObjectId idMaterial)

Removes material.

◆ SetApplyTo()

void AEC2dSectionHatchRegion::SetApplyTo ( ApplyTo  eApplyTo)

Sets how hatch region is applied.

◆ SetIndex()

void AEC2dSectionHatchRegion::SetIndex ( OdUInt32  iIndex)

Sets index of hatch boundary.

◆ SetIsAppliedToSectionShrinkwrapHatching()

void AEC2dSectionHatchRegion::SetIsAppliedToSectionShrinkwrapHatching ( bool  bApplied)

Sets whether hatch boundary is applied to section shrinkwrap hatching.

◆ SetIsAppliedToSectionShrinkwrapLinework()

void AEC2dSectionHatchRegion::SetIsAppliedToSectionShrinkwrapLinework ( bool  bApplied)

Sets whether hatch boundary is applied to section shrinkwrap linework.

◆ SetPurpose()

void AEC2dSectionHatchRegion::SetPurpose ( Purpose  ePurpose)

Sets type of boundary.

Remarks
Erase clips inner area and Limit clips outer area.

Member Data Documentation

◆ m_aMaterials

std::vector<OdDbHardPointerId> AEC2dSectionHatchRegion::m_aMaterials
protected

Definition at line 186 of file AEC2dSectionHatchRegion.h.

◆ m_Flags

Flags AEC2dSectionHatchRegion::m_Flags
protected

Definition at line 180 of file AEC2dSectionHatchRegion.h.

◆ m_iIndex

OdUInt32 AEC2dSectionHatchRegion::m_iIndex
protected

Definition at line 177 of file AEC2dSectionHatchRegion.h.

◆ m_pBoundary

AECGeProfilePtr AEC2dSectionHatchRegion::m_pBoundary
protected

Definition at line 183 of file AEC2dSectionHatchRegion.h.


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