CFx SDK Documentation 2024 SP0
|
#include <AECDispCompEnt.h>
Classes | |
union | BlockFlags |
DOM. More... | |
union | MaterialFlags |
DOM. More... | |
Public Types | |
enum | XPosition { exLeft = 0 , exCenter = 1 , exRight = 2 } |
enum | YPosition { eyFront = 0 , eyCenter = 1 , eyBack = 2 } |
enum | ZPosition { ezBottom = 0 , ezCenter = 1 , ezTop = 2 } |
Public Member Functions | |
virtual void | SetDbProperties (const OdDbDatabase *pDb) |
DOM. | |
bool | IsVisible () const |
void | SetIsVisible (bool bVisible) |
const OdCmColor & | GetColor () const |
void | SetColor (const OdCmColor &cColor) |
OdDbObjectId | GetLayer () const |
void | SetLayer (const OdDbObjectId &idLayer) |
OdDbObjectId | GetLinetype () const |
void | SetLinetype (const OdDbObjectId &idLinetype) |
OdDb::LineWeight | GetLineWeight () const |
void | SetLineWeight (OdDb::LineWeight eLineWeight) |
double | GetLtScale () const |
void | SetLtScale (double dScale) |
OdDb::PlotStyleNameType | GetPlotStyleNameType () const |
void | SetPlotStyleNameType (OdDb::PlotStyleNameType eType) |
OdDbObjectId | GetPlotStyle () const |
void | SetPlotStyle (const OdDbObjectId &idPlotStyle) |
bool | MayBeByMaterial () const |
void | SetMayBeByMaterial (bool bMayBeByMaterial) |
bool | IsByMaterial () const |
void | SetIsByMaterial (bool bByMaterial) |
Public Member Functions inherited from AECImpObj | |
const OdString & | GetDescription () const |
void | SetDescription (const OdString &strDescription) |
virtual void | onObjectLoaded () |
virtual void | SubClose () |
DOM. | |
OdRxObject * | GetOwner () const |
OdRxObject * | GetOwner (OdRxClass *pClass) const |
void | addRefSubPtr () |
void | releaseSubPtr () |
void | assertReadEnabled () const |
void | assertWriteEnabled (bool autoUndo=true, bool recordModified=true) |
bool | isReadEnabled () const |
bool | isWriteEnabled () const |
OdDbDatabase * | database () 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 OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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 | |
bool | m_bVisible |
OdDbHardPointerId | m_hpidDbLayerTableRecord |
OdCmColor | m_cColor |
bool | m_bNoneColor |
OdDbHardPointerId | m_hpidDbLineTypeTableRecord |
OdDb::LineWeight | m_eLineWeight |
double | m_dLtScale |
OdDb::PlotStyleNameType | m_ePlotStyleName |
OdDbHardPointerId | m_hpidPlotStyle |
MaterialFlags | m_iMaterialFlags |
OdUInt32 | m_unknSmartStrID |
DOM. | |
OdString | m_unknSmartStrValue |
DOM. | |
OdInt32 | m_iUnknown1 |
DOM. | |
Protected Attributes inherited from AECDispComp | |
bool | m_bApplicable |
bool | m_bInherited |
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< AECImpObj > | createObject () |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions inherited from OdRxObjectImpl< OdRxObject, AECImpObj > | |
ODRX_HEAP_OPERATORS () | |
Common Display Component.
<group TA_API_Subobjects_Display_Components>
Definition at line 35 of file AECDispCompEnt.h.
The position along X axis.
Enumerator | |
---|---|
exLeft | |
exCenter | |
exRight |
Definition at line 49 of file AECDispCompEnt.h.
The position along Y axis.
Enumerator | |
---|---|
eyFront | |
eyCenter | |
eyBack |
Definition at line 59 of file AECDispCompEnt.h.
The position along Z axis.
Enumerator | |
---|---|
ezBottom | |
ezCenter | |
ezTop |
Definition at line 69 of file AECDispCompEnt.h.
const OdCmColor & AECDispCompEnt::GetColor | ( | ) | const |
Returns the color of display component.
OdDbObjectId AECDispCompEnt::GetLayer | ( | ) | const |
Returns the Object ID of layer.
OdDbObjectId AECDispCompEnt::GetLinetype | ( | ) | const |
Returns the Object ID of linetype.
OdDb::LineWeight AECDispCompEnt::GetLineWeight | ( | ) | const |
Returns the line weight of the display component.
double AECDispCompEnt::GetLtScale | ( | ) | const |
Returns the linetype scaling factor.
OdDbObjectId AECDispCompEnt::GetPlotStyle | ( | ) | const |
Returns the Object ID of plot style (OdDbPlaceHolder).
OdDb::PlotStyleNameType AECDispCompEnt::GetPlotStyleNameType | ( | ) | const |
Returns plot style name type.
bool AECDispCompEnt::IsByMaterial | ( | ) | const |
Returns "By Material" flag.
bool AECDispCompEnt::IsVisible | ( | ) | const |
Returns whether the display component is visible.
bool AECDispCompEnt::MayBeByMaterial | ( | ) | const |
Returns whether the component may have "By Material" flag.
|
virtual |
DOM.
void AECDispCompEnt::SetIsByMaterial | ( | bool | bByMaterial | ) |
Sets "By Material" flag.
void AECDispCompEnt::SetIsVisible | ( | bool | bVisible | ) |
Sets whether the display component is visible.
void AECDispCompEnt::SetLayer | ( | const OdDbObjectId & | idLayer | ) |
Sets the Object ID of layer.
void AECDispCompEnt::SetLinetype | ( | const OdDbObjectId & | idLinetype | ) |
Sets the Object ID of linetype.
void AECDispCompEnt::SetLineWeight | ( | OdDb::LineWeight | eLineWeight | ) |
Sets the line weight of the display component.
void AECDispCompEnt::SetLtScale | ( | double | dScale | ) |
Sets the linetype scaling factor.
void AECDispCompEnt::SetMayBeByMaterial | ( | bool | bMayBeByMaterial | ) |
Sets whether the component may have "By Material" flag.
void AECDispCompEnt::SetPlotStyle | ( | const OdDbObjectId & | idPlotStyle | ) |
Sets the Object ID of plot style (OdDbPlaceHolder).
void AECDispCompEnt::SetPlotStyleNameType | ( | OdDb::PlotStyleNameType | eType | ) |
Sets plot style name type.
|
protected |
Definition at line 251 of file AECDispCompEnt.h.
|
protected |
Definition at line 244 of file AECDispCompEnt.h.
|
protected |
Definition at line 250 of file AECDispCompEnt.h.
|
protected |
Definition at line 263 of file AECDispCompEnt.h.
|
protected |
Definition at line 260 of file AECDispCompEnt.h.
|
protected |
Definition at line 266 of file AECDispCompEnt.h.
|
protected |
Definition at line 247 of file AECDispCompEnt.h.
|
protected |
Definition at line 254 of file AECDispCompEnt.h.
|
protected |
Definition at line 269 of file AECDispCompEnt.h.
|
protected |
Definition at line 272 of file AECDispCompEnt.h.
|
protected |
DOM.
Definition at line 281 of file AECDispCompEnt.h.
|
protected |
DOM.
Definition at line 275 of file AECDispCompEnt.h.
|
protected |
DOM.
Definition at line 278 of file AECDispCompEnt.h.