Open CASCADE Technology  6.9.0
Public Member Functions | Protected Member Functions | Protected Attributes
V3d_LayerMgr Class Reference

Class to manage layers. More...

#include <V3d_LayerMgr.hxx>

Inheritance diagram for V3d_LayerMgr:
Inheritance graph
[legend]

Public Member Functions

 V3d_LayerMgr (const Handle< V3d_View > &aView)
 
const Handle< Visual3d_Layer > & Overlay () const
 
Handle< V3d_ViewView () const
 
void ColorScaleDisplay ()
 
void ColorScaleErase ()
 
Standard_Boolean ColorScaleIsDisplayed () const
 
Handle< Aspect_ColorScaleColorScale () const
 
void Compute ()
 Recompute layer with objects. More...
 
void Resized ()
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const
 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
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const 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 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...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

Protected Member Functions

virtual Standard_Boolean Begin ()
 Begin layers recomputation. More...
 
virtual void Redraw ()
 Perform layers recomputation. More...
 
virtual void End ()
 End layers recomputation. More...
 

Protected Attributes

V3d_ViewPointer myView
 
Handle< Visual3d_LayermyOverlay
 
Handle< V3d_ColorScalemyColorScale
 
Handle< V3d_ColorScaleLayerItemmyColorScaleLayerItem
 

Detailed Description

Class to manage layers.

Constructor & Destructor Documentation

V3d_LayerMgr::V3d_LayerMgr ( const Handle< V3d_View > &  aView)

Member Function Documentation

virtual Standard_Boolean V3d_LayerMgr::Begin ( )
protectedvirtual

Begin layers recomputation.

Handle< Aspect_ColorScale > V3d_LayerMgr::ColorScale ( ) const
void V3d_LayerMgr::ColorScaleDisplay ( )
void V3d_LayerMgr::ColorScaleErase ( )
Standard_Boolean V3d_LayerMgr::ColorScaleIsDisplayed ( ) const
void V3d_LayerMgr::Compute ( )

Recompute layer with objects.

virtual void V3d_LayerMgr::End ( )
protectedvirtual

End layers recomputation.

const Handle< Visual3d_Layer >& V3d_LayerMgr::Overlay ( ) const
virtual void V3d_LayerMgr::Redraw ( )
protectedvirtual

Perform layers recomputation.

void V3d_LayerMgr::Resized ( )
Handle< V3d_View > V3d_LayerMgr::View ( ) const

Field Documentation

Handle< V3d_ColorScale > V3d_LayerMgr::myColorScale
protected
Handle< V3d_ColorScaleLayerItem > V3d_LayerMgr::myColorScaleLayerItem
protected
Handle< Visual3d_Layer > V3d_LayerMgr::myOverlay
protected
V3d_ViewPointer V3d_LayerMgr::myView
protected

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