Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

TPrsStd_AISViewer Class Reference

#include <TPrsStd_AISViewer.hxx>

Inheritance diagram for TPrsStd_AISViewer:

TDF_Attribute MMgt_TShared Standard_Transient

List of all members.


Detailed Description

The groundwork to define an interactive viewer attribute.
This attribute stores an interactive context at the root label.
You can only have one instance of this class per data framework.

Definition at line 62 of file TPrsStd_AISViewer.hxx.


Public Member Functions

Standard_EXPORT void AddAttribute (const Handle(TDF_Attribute)&other) const
virtual Standard_EXPORT void AfterAddition ()
 Something to do after adding an Attribute to a label.
.
virtual Standard_EXPORT void AfterResume ()
virtual Standard_EXPORT
Standard_Boolean 
AfterRetrieval (const Standard_Boolean forceIt=Standard_False)
virtual Standard_EXPORT
Standard_Boolean 
AfterUndo (const Handle(TDF_AttributeDelta)&anAttDelta, const Standard_Boolean forceIt=Standard_False)
Standard_EXPORT void Backup ()
virtual Standard_EXPORT
Handle_TDF_Attribute 
BackupCopy () const
virtual Standard_EXPORT void BeforeCommitTransaction ()
virtual Standard_EXPORT void BeforeForget ()
virtual Standard_EXPORT void BeforeRemoval ()
virtual Standard_EXPORT
Standard_Boolean 
BeforeUndo (const Handle(TDF_AttributeDelta)&anAttDelta, const Standard_Boolean forceIt=Standard_False)
virtual Standard_EXPORT void Delete () const
 Memory deallocator for transient classes.
virtual Standard_EXPORT
Handle_TDF_DeltaOnAddition 
DeltaOnAddition () const
virtual Standard_EXPORT
Handle_TDF_DeltaOnForget 
DeltaOnForget () const
virtual Standard_EXPORT void DeltaOnModification (const Handle(TDF_DeltaOnModification)&aDelta)
 Applies a DeltaOnModification to <me>.
.
virtual Standard_EXPORT
Handle_TDF_DeltaOnModification 
DeltaOnModification (const Handle(TDF_Attribute)&anOldAttribute) const
virtual Standard_EXPORT
Handle_TDF_DeltaOnRemoval 
DeltaOnRemoval () const
virtual Standard_EXPORT
Handle_TDF_DeltaOnResume 
DeltaOnResume () const
virtual Standard_EXPORT
Standard_OStream & 
Dump (Standard_OStream &anOS) const
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
virtual Standard_EXPORT void ExtendedDump (Standard_OStream &anOS, const TDF_IDFilter &aFilter, TDF_AttributeIndexedMap &aMap) const
Standard_EXPORT Standard_Boolean FindAttribute (const Standard_GUID &anID, Handle(TDF_Attribute)&anAttribute) const
Standard_EXPORT void Forget (const Standard_Integer aTransaction)
Standard_EXPORT void ForgetAllAttributes (const Standard_Boolean clearChildren=Standard_True) const
Standard_EXPORT Standard_Boolean ForgetAttribute (const Standard_GUID &aguid) const
Standard_EXPORT
Handle_AIS_InteractiveContext 
GetInteractiveContext () const
 Returns the interactive context in this attribute.
.
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
Standard_EXPORT const
Standard_GUID & 
ID () const
Standard_EXPORT Standard_Boolean IsAttribute (const Standard_GUID &anID) const
Standard_Boolean IsBackuped () const
Standard_Boolean IsForgotten () const
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
Standard_Boolean IsNew () const
Standard_Boolean IsValid () const
Standard_EXPORT const TDF_Label Label () const
Standard_EXPORT
Handle_TDF_Attribute 
NewEmpty () const
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
Standard_OStream & operator<< (Standard_OStream &anOS) const
Standard_EXPORT void Paste (const Handle(TDF_Attribute)&into, const Handle(TDF_RelocationTable)&RT) const
virtual Standard_EXPORT void References (const Handle(TDF_DataSet)&aDataSet) const
Standard_EXPORT void Restore (const Handle(TDF_Attribute)&with)
Standard_EXPORT void SetInteractiveContext (const Handle(AIS_InteractiveContext)&ctx)
 Sets the interactive context ctx for this attribute.
.
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
Standard_Integer Transaction () const
Standard_EXPORT Standard_Integer UntilTransaction () const
Standard_EXPORT void Update () const

Static Public Member Functions

static Standard_EXPORT
Standard_Boolean 
Find (const TDF_Label &acces, Handle(V3d_Viewer)&V)
static Standard_EXPORT
Standard_Boolean 
Find (const TDF_Label &acces, Handle(AIS_InteractiveContext)&IC)
static Standard_EXPORT
Standard_Boolean 
Find (const TDF_Label &acces, Handle(TPrsStd_AISViewer)&A)
static Standard_EXPORT const
Standard_GUID & 
GetID ()
static Standard_EXPORT
Standard_Boolean 
Has (const TDF_Label &acces)
static Standard_EXPORT
Handle_TPrsStd_AISViewer 
New (const TDF_Label &acces, const Handle(V3d_Viewer)&viewer)
static Standard_EXPORT
Handle_TPrsStd_AISViewer 
New (const TDF_Label &access, const Handle(AIS_InteractiveContext)&selector)
static Standard_EXPORT void Update (const TDF_Label &acces)

Private Attributes

Handle_AIS_InteractiveContext myInteractiveContext

Friends

class TDF_AttributeIterator
class TDF_Data
class TDF_DeltaOnForget
class TDF_Label
class TDF_LabelNode

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

Generated by  Doxygen 1.6.0   Back to index