Open CASCADE Technology  7.1.0.beta
Public Member Functions

AIS_LocalStatus Class Reference

Stored Info about temporary objects. More...

#include <AIS_LocalStatus.hxx>

Inheritance diagram for AIS_LocalStatus:
Inheritance graph
[legend]

Public Member Functions

 AIS_LocalStatus (const Standard_Boolean theIsTemporary=Standard_True, const Standard_Boolean theIsToDecompose=Standard_False, const Standard_Integer theDisplayMode=-1, const Standard_Integer theSelectionMode=-1, const Standard_Integer theHilightMode=0, const Standard_Boolean theIsSubIntensity=0, const Handle< Graphic3d_HighlightStyle > &theStyle=NULL)
 
Standard_Boolean Decomposed () const
 
Standard_Boolean IsTemporary () const
 
Standard_Integer DisplayMode () const
 
const TColStd_ListOfIntegerSelectionModes () const
 
Standard_Boolean IsActivated (const Standard_Integer aSelMode) const
 
Standard_Integer HilightMode () const
 
Standard_Boolean IsSubIntensityOn () const
 
const Handle< Graphic3d_HighlightStyle > & HilightStyle () const
 
void SetDecomposition (const Standard_Boolean astatus)
 
void SetTemporary (const Standard_Boolean astatus)
 
void SetDisplayMode (const Standard_Integer aMode)
 
void SetFirstDisplay (const Standard_Boolean aStatus)
 
Standard_Boolean IsFirstDisplay () const
 
void AddSelectionMode (const Standard_Integer aMode)
 
void RemoveSelectionMode (const Standard_Integer aMode)
 
void ClearSelectionModes ()
 
Standard_Boolean IsSelModeIn (const Standard_Integer aMode) const
 
void SetHilightMode (const Standard_Integer aMode)
 
void SetHilightStyle (const Handle< Graphic3d_HighlightStyle > &theStyle)
 
void SubIntensityOn ()
 
void SubIntensityOff ()
 
void SetPreviousState (const Handle< Standard_Transient > &aStatus)
 
const Handle< Standard_Transient > & PreviousState () const
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const override
 Memory deallocator for transient classes. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object. More...
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const opencascade::handle< Standard_Type > &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 
void IncrementRefCounter () const
 Increments the reference counter of this object. More...
 
Standard_Integer DecrementRefCounter () const
 Decrements the reference counter of this object; returns the decremented value. More...
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object. More...
 
- Static Public Member Functions inherited from Standard_Transient
static const char * get_type_name ()
 Returns a type descriptor about this object. More...
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class. More...
 

Detailed Description

Stored Info about temporary objects.

Constructor & Destructor Documentation

AIS_LocalStatus::AIS_LocalStatus ( const Standard_Boolean  theIsTemporary = Standard_True,
const Standard_Boolean  theIsToDecompose = Standard_False,
const Standard_Integer  theDisplayMode = -1,
const Standard_Integer  theSelectionMode = -1,
const Standard_Integer  theHilightMode = 0,
const Standard_Boolean  theIsSubIntensity = 0,
const Handle< Graphic3d_HighlightStyle > &  theStyle = NULL 
)

Member Function Documentation

void AIS_LocalStatus::AddSelectionMode ( const Standard_Integer  aMode)
void AIS_LocalStatus::ClearSelectionModes ( )
Standard_Boolean AIS_LocalStatus::Decomposed ( ) const
Standard_Integer AIS_LocalStatus::DisplayMode ( ) const
Standard_Integer AIS_LocalStatus::HilightMode ( ) const
const Handle< Graphic3d_HighlightStyle >& AIS_LocalStatus::HilightStyle ( ) const
inline
Standard_Boolean AIS_LocalStatus::IsActivated ( const Standard_Integer  aSelMode) const
Standard_Boolean AIS_LocalStatus::IsFirstDisplay ( ) const
Standard_Boolean AIS_LocalStatus::IsSelModeIn ( const Standard_Integer  aMode) const
Standard_Boolean AIS_LocalStatus::IsSubIntensityOn ( ) const
Standard_Boolean AIS_LocalStatus::IsTemporary ( ) const
const Handle< Standard_Transient >& AIS_LocalStatus::PreviousState ( ) const
void AIS_LocalStatus::RemoveSelectionMode ( const Standard_Integer  aMode)
const TColStd_ListOfInteger& AIS_LocalStatus::SelectionModes ( ) const
void AIS_LocalStatus::SetDecomposition ( const Standard_Boolean  astatus)
void AIS_LocalStatus::SetDisplayMode ( const Standard_Integer  aMode)
void AIS_LocalStatus::SetFirstDisplay ( const Standard_Boolean  aStatus)
void AIS_LocalStatus::SetHilightMode ( const Standard_Integer  aMode)
void AIS_LocalStatus::SetHilightStyle ( const Handle< Graphic3d_HighlightStyle > &  theStyle)
inline
void AIS_LocalStatus::SetPreviousState ( const Handle< Standard_Transient > &  aStatus)
void AIS_LocalStatus::SetTemporary ( const Standard_Boolean  astatus)
void AIS_LocalStatus::SubIntensityOff ( )
void AIS_LocalStatus::SubIntensityOn ( )

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