Open CASCADE Technology  7.5.0
Public Member Functions | Protected Member Functions | Protected Attributes

Graphic3d_LightSet::Iterator Class Reference

Iterator through light sources. More...

#include <Graphic3d_LightSet.hxx>

Public Member Functions

 Iterator ()
 Empty constructor. More...
 
 Iterator (const Graphic3d_LightSet &theSet, IterationFilter theFilter=IterationFilter_None)
 Constructor with initialization. More...
 
 Iterator (const Handle< Graphic3d_LightSet > &theSet, IterationFilter theFilter=IterationFilter_None)
 Constructor with initialization. More...
 
Standard_Boolean More () const
 Returns TRUE if iterator points to a valid item. More...
 
const Handle< Graphic3d_CLight > & Value () const
 Returns current item. More...
 
void Next ()
 Moves to the next item. More...
 

Protected Member Functions

void skipFiltered ()
 Skip filtered items. More...
 

Protected Attributes

NCollection_IndexedDataMap< Handle< Graphic3d_CLight >, Standard_Size >::Iterator myIter
 
Standard_Integer myFilter
 

Detailed Description

Iterator through light sources.

Constructor & Destructor Documentation

◆ Iterator() [1/3]

Graphic3d_LightSet::Iterator::Iterator ( )
inline

Empty constructor.

◆ Iterator() [2/3]

Graphic3d_LightSet::Iterator::Iterator ( const Graphic3d_LightSet theSet,
IterationFilter  theFilter = IterationFilter_None 
)
inline

Constructor with initialization.

◆ Iterator() [3/3]

Graphic3d_LightSet::Iterator::Iterator ( const Handle< Graphic3d_LightSet > &  theSet,
IterationFilter  theFilter = IterationFilter_None 
)
inline

Constructor with initialization.

Member Function Documentation

◆ More()

Standard_Boolean Graphic3d_LightSet::Iterator::More ( void  ) const
inline

Returns TRUE if iterator points to a valid item.

◆ Next()

void Graphic3d_LightSet::Iterator::Next ( void  )
inline

Moves to the next item.

◆ skipFiltered()

void Graphic3d_LightSet::Iterator::skipFiltered ( )
inlineprotected

Skip filtered items.

◆ Value()

const Handle< Graphic3d_CLight >& Graphic3d_LightSet::Iterator::Value ( void  ) const
inline

Returns current item.

Field Documentation

◆ myFilter

Standard_Integer Graphic3d_LightSet::Iterator::myFilter
protected

◆ myIter

NCollection_IndexedDataMap<Handle< Graphic3d_CLight >, Standard_Size>::Iterator Graphic3d_LightSet::Iterator::myIter
protected

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