Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions
DDataStd_DrawPresentation Class Reference

draw presentaion of a label of a document

#include <DDataStd_DrawPresentation.hxx>

Inheritance diagram for DDataStd_DrawPresentation:
Inheritance graph
[legend]

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_GUIDID () 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_GUIDGetID ()

Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from TDF_Attribute.

Reimplemented from TDF_Attribute.

Reimplemented from TDF_Attribute.

Reimplemented from TDF_Attribute.

Reimplemented from TDF_Attribute.

Reimplemented from TDF_Attribute.

Handle_Draw_Drawable3D DDataStd_DrawPresentation::GetDrawable ( ) const

Implements TDF_Attribute.

Handle_TDF_Attribute DDataStd_DrawPresentation::NewEmpty ( ) const [virtual]

Implements TDF_Attribute.

Implements TDF_Attribute.

Implements TDF_Attribute.


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