|
Open CASCADE Technology 6.5.2
|
draw presentaion of a label of a document
#include <DDataStd_DrawPresentation.hxx>

Public Member Functions | |
| DDataStd_DrawPresentation () | |
| void | SetDisplayed (const Standard_Boolean status) |
| Standard_Boolean | IsDisplayed () const |
| void | SetDrawable (const Handle< Draw_Drawable3D > &D) |
| Handle_Draw_Drawable3D | GetDrawable () const |
| const Standard_GUID & | ID () const |
| Returns the ID of the attribute. | |
| Handle_TDF_Attribute | NewEmpty () const |
| Returns an new empty attribute from the good end type. It is used by the copy algorithm. | |
| void | Restore (const Handle< TDF_Attribute > &with) |
| Restores the backuped contents from <anAttribute> into this one. It is used when aborting a transaction. | |
| void | Paste (const Handle< TDF_Attribute > &into, const Handle< TDF_RelocationTable > &RT) const |
| call backs for viewer updating ============================== | |
| virtual void | AfterAddition () |
| Something to do after adding an Attribute to a label. | |
| virtual void | BeforeRemoval () |
| Something to do before removing an Attribute from a label. | |
| virtual void | BeforeForget () |
| Something to do before forgetting an Attribute to a label. | |
| virtual void | AfterResume () |
| Something to do after resuming an Attribute from a label. | |
| virtual Standard_Boolean | BeforeUndo (const Handle< TDF_AttributeDelta > &anAttDelta, const Standard_Boolean forceIt=Standard_False) |
| Something to do before applying <anAttDelta>. The returned status says if AfterUndo has been performed (true) or if this callback must be called once again further (false). If <forceIt> is set to true, the method MUST perform and return true. Does nothing by default and returns true. | |
| virtual Standard_Boolean | AfterUndo (const Handle< TDF_AttributeDelta > &anAttDelta, const Standard_Boolean forceIt=Standard_False) |
| update draw viewer according to delta //! private methods =============== | |
Static Public Member Functions | |
| static Standard_Boolean | HasPresentation (const TDF_Label &L) |
| api methods on draw presentation ================================ | |
| static Standard_Boolean | IsDisplayed (const TDF_Label &L) |
| static void | Display (const TDF_Label &L) |
| static void | Erase (const TDF_Label &L) |
| static void | Update (const TDF_Label &L) |
| attribute implementation ======================== | |
| static const Standard_GUID & | GetID () |
| DDataStd_DrawPresentation::DDataStd_DrawPresentation | ( | ) |
| virtual void DDataStd_DrawPresentation::AfterAddition | ( | ) | [virtual] |
Reimplemented from TDF_Attribute.
| virtual void DDataStd_DrawPresentation::AfterResume | ( | ) | [virtual] |
Reimplemented from TDF_Attribute.
| virtual Standard_Boolean DDataStd_DrawPresentation::AfterUndo | ( | const Handle< TDF_AttributeDelta > & | anAttDelta, |
| const Standard_Boolean | forceIt = Standard_False |
||
| ) | [virtual] |
Reimplemented from TDF_Attribute.
| virtual void DDataStd_DrawPresentation::BeforeForget | ( | ) | [virtual] |
Reimplemented from TDF_Attribute.
| virtual void DDataStd_DrawPresentation::BeforeRemoval | ( | ) | [virtual] |
Reimplemented from TDF_Attribute.
| virtual Standard_Boolean DDataStd_DrawPresentation::BeforeUndo | ( | const Handle< TDF_AttributeDelta > & | anAttDelta, |
| const Standard_Boolean | forceIt = Standard_False |
||
| ) | [virtual] |
Reimplemented from TDF_Attribute.
| static void DDataStd_DrawPresentation::Display | ( | const TDF_Label & | L | ) | [static] |
| static void DDataStd_DrawPresentation::Erase | ( | const TDF_Label & | L | ) | [static] |
| Handle_Draw_Drawable3D DDataStd_DrawPresentation::GetDrawable | ( | ) | const |
| static const Standard_GUID& DDataStd_DrawPresentation::GetID | ( | ) | [static] |
| static Standard_Boolean DDataStd_DrawPresentation::HasPresentation | ( | const TDF_Label & | L | ) | [static] |
| const Standard_GUID& DDataStd_DrawPresentation::ID | ( | ) | const [virtual] |
Implements TDF_Attribute.
| Standard_Boolean DDataStd_DrawPresentation::IsDisplayed | ( | ) | const |
| static Standard_Boolean DDataStd_DrawPresentation::IsDisplayed | ( | const TDF_Label & | L | ) | [static] |
| Handle_TDF_Attribute DDataStd_DrawPresentation::NewEmpty | ( | ) | const [virtual] |
Implements TDF_Attribute.
| void DDataStd_DrawPresentation::Paste | ( | const Handle< TDF_Attribute > & | into, |
| const Handle< TDF_RelocationTable > & | RT | ||
| ) | const [virtual] |
Implements TDF_Attribute.
| void DDataStd_DrawPresentation::Restore | ( | const Handle< TDF_Attribute > & | anAttribute | ) | [virtual] |
Implements TDF_Attribute.
| void DDataStd_DrawPresentation::SetDisplayed | ( | const Standard_Boolean | status | ) |
| void DDataStd_DrawPresentation::SetDrawable | ( | const Handle< Draw_Drawable3D > & | D | ) |
| static void DDataStd_DrawPresentation::Update | ( | const TDF_Label & | L | ) | [static] |
1.7.4