OCC Main Page | Visualization | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

Visualization
TKNIS
NIS


NIS_DrawList Class Reference

#include <NIS_DrawList.hxx>


Public Member Functions

Standard_EXPORT NIS_DrawList ()
Standard_EXPORT NIS_DrawList (const Handle_NIS_View &theView)
virtual Standard_EXPORT ~NIS_DrawList ()
Standard_Integer GetListID (const Standard_Integer theType)
virtual Standard_EXPORT void BeginPrepare (const Standard_Integer theType)
virtual Standard_EXPORT void EndPrepare (const Standard_Integer theType)
virtual Standard_EXPORT void Call (const Standard_Integer theType)
Standard_Boolean IsUpdated (const Standard_Integer theType)
void SetUpdated (const Standard_Integer theType)
const NCollection_List< Handle_NIS_InteractiveObject > & DynHilightedList () const
const Handle_NIS_View & GetView () const
Standard_EXPORT Standard_Boolean SetDynHilighted (const Standard_Boolean isHilight, const Handle_NIS_InteractiveObject &theObj)

Protected Member Functions

Standard_EXPORT void SetUpdated (const Standard_Integer, const Standard_Boolean)
void SetListID (const Standard_Integer theID)

Private Member Functions

 NIS_DrawList (const NIS_DrawList &theOther)

Private Attributes

Handle_NIS_View myView
Standard_Integer myListID
Standard_Boolean myIsUpdated [4]
NCollection_List< Handle_NIS_InteractiveObject > myDynHilighted


Detailed Description

Block of comments describing class NIS_DrawList


Constructor & Destructor Documentation

Standard_EXPORT NIS_DrawList::NIS_DrawList  ) 
 

Empty constructor.

Standard_EXPORT NIS_DrawList::NIS_DrawList const Handle_NIS_View &  theView  ) 
 

Constructor

virtual Standard_EXPORT NIS_DrawList::~NIS_DrawList  )  [virtual]
 

Destructor.

NIS_DrawList::NIS_DrawList const NIS_DrawList theOther  )  [private]
 


Member Function Documentation

virtual Standard_EXPORT void NIS_DrawList::BeginPrepare const Standard_Integer  theType  )  [virtual]
 

This method is called to start recording a new list. It must be eventually followed by EndPrepare.

Parameters:
theType Integer value coinciding with the enumerated NIS_Drawer::DrawType.

virtual Standard_EXPORT void NIS_DrawList::Call const Standard_Integer  theType  )  [virtual]
 

Call the previously prepared list when the screen is redrawn.

Parameters:
theType Integer value coinciding with the enumerated NIS_Drawer::DrawType.

const NCollection_List<Handle_NIS_InteractiveObject>& NIS_DrawList::DynHilightedList  )  const [inline]
 

Query if the given list should be processed by Dynamic Hilighting.

virtual Standard_EXPORT void NIS_DrawList::EndPrepare const Standard_Integer  theType  )  [virtual]
 

This method is called to end recording a new list. It must be preceded by BeginPrepare.

Parameters:
theType Integer value coinciding with the enumerated NIS_Drawer::DrawType.

Standard_Integer NIS_DrawList::GetListID const Standard_Integer  theType  )  [inline]
 

Query the list corresponding to the given type.

Parameters:
theType Integer value coinciding with the enumerated NIS_Drawer:DrawType.

const Handle_NIS_View& NIS_DrawList::GetView  )  const [inline]
 

Query the View.

Standard_Boolean NIS_DrawList::IsUpdated const Standard_Integer  theType  )  [inline]
 

Query if the given list should be prepared again.

Parameters:
theType Integer value coinciding with the enumerated NIS_Drawer::DrawType.

Standard_EXPORT Standard_Boolean NIS_DrawList::SetDynHilighted const Standard_Boolean  isHilight,
const Handle_NIS_InteractiveObject &  theObj
 

Update the list of Dynamically Hilighted entities.

void NIS_DrawList::SetListID const Standard_Integer  theID  )  [inline, protected]
 

Standard_EXPORT void NIS_DrawList::SetUpdated const   Standard_Integer,
const   Standard_Boolean
[protected]
 

void NIS_DrawList::SetUpdated const Standard_Integer  theType  )  [inline]
 

Set the flag indicating that the List should be updated (rebuilt).


Field Documentation

NCollection_List<Handle_NIS_InteractiveObject> NIS_DrawList::myDynHilighted [private]
 

Standard_Boolean NIS_DrawList::myIsUpdated[4] [private]
 

Standard_Integer NIS_DrawList::myListID [private]
 

Handle_NIS_View NIS_DrawList::myView [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:55:53 2008 for OpenCASCADE by  doxygen 1.4.1