Open CASCADE Technology 7.8.2.dev
Graphic3d_LightSet::Iterator Class Reference

Iterator through light sources. More...

#include <Graphic3d_LightSet.hxx>

Public Member Functions

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

Protected Member Functions

void skipFiltered ()
 Skip filtered items.
 

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 ( ) const
inline

Returns TRUE if iterator points to a valid item.

◆ Next()

void Graphic3d_LightSet::Iterator::Next ( )
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 ( ) 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: