Open CASCADE Technology  7.3.0
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< Prs3d_Drawer > &theStyle=Handle< Prs3d_Drawer >())
 
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< Prs3d_Drawer > & 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< Prs3d_Drawer > &theStyle)
 
void SubIntensityOn ()
 
void SubIntensityOff ()
 
void SetPreviousState (const Handle< Standard_Transient > &aStatus)
 
const Handle< Standard_Transient > & PreviousState () const
 
- 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 void Delete () const
 Memory deallocator for transient classes. 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::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< Prs3d_Drawer > &  theStyle = HandlePrs3d_Drawer >() 
)

Member Function Documentation

◆ AddSelectionMode()

void AIS_LocalStatus::AddSelectionMode ( const Standard_Integer  aMode)

◆ ClearSelectionModes()

void AIS_LocalStatus::ClearSelectionModes ( )

◆ Decomposed()

Standard_Boolean AIS_LocalStatus::Decomposed ( ) const

◆ DisplayMode()

Standard_Integer AIS_LocalStatus::DisplayMode ( ) const

◆ HilightMode()

Standard_Integer AIS_LocalStatus::HilightMode ( ) const

◆ HilightStyle()

const Handle< Prs3d_Drawer >& AIS_LocalStatus::HilightStyle ( ) const
inline

◆ IsActivated()

Standard_Boolean AIS_LocalStatus::IsActivated ( const Standard_Integer  aSelMode) const

◆ IsFirstDisplay()

Standard_Boolean AIS_LocalStatus::IsFirstDisplay ( ) const

◆ IsSelModeIn()

Standard_Boolean AIS_LocalStatus::IsSelModeIn ( const Standard_Integer  aMode) const

◆ IsSubIntensityOn()

Standard_Boolean AIS_LocalStatus::IsSubIntensityOn ( ) const

◆ IsTemporary()

Standard_Boolean AIS_LocalStatus::IsTemporary ( ) const

◆ PreviousState()

const Handle< Standard_Transient >& AIS_LocalStatus::PreviousState ( ) const

◆ RemoveSelectionMode()

void AIS_LocalStatus::RemoveSelectionMode ( const Standard_Integer  aMode)

◆ SelectionModes()

const TColStd_ListOfInteger& AIS_LocalStatus::SelectionModes ( ) const

◆ SetDecomposition()

void AIS_LocalStatus::SetDecomposition ( const Standard_Boolean  astatus)

◆ SetDisplayMode()

void AIS_LocalStatus::SetDisplayMode ( const Standard_Integer  aMode)

◆ SetFirstDisplay()

void AIS_LocalStatus::SetFirstDisplay ( const Standard_Boolean  aStatus)

◆ SetHilightMode()

void AIS_LocalStatus::SetHilightMode ( const Standard_Integer  aMode)

◆ SetHilightStyle()

void AIS_LocalStatus::SetHilightStyle ( const Handle< Prs3d_Drawer > &  theStyle)
inline

◆ SetPreviousState()

void AIS_LocalStatus::SetPreviousState ( const Handle< Standard_Transient > &  aStatus)

◆ SetTemporary()

void AIS_LocalStatus::SetTemporary ( const Standard_Boolean  astatus)

◆ SubIntensityOff()

void AIS_LocalStatus::SubIntensityOff ( )

◆ SubIntensityOn()

void AIS_LocalStatus::SubIntensityOn ( )

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