Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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.
 
 Iterator (const Graphic3d_LightSet &theSet, IterationFilter theFilter=IterationFilter_None)
 Constructor with initialization.
 
 Iterator (const occ::handle< Graphic3d_LightSet > &theSet, IterationFilter theFilter=IterationFilter_None)
 Constructor with initialization.
 
bool More () const
 Returns TRUE if iterator points to a valid item.
 
const occ::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< occ::handle< Graphic3d_CLight >, size_t >::Iterator myIter
 
int 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 occ::handle< Graphic3d_LightSet > & theSet,
IterationFilter theFilter = IterationFilter_None )
inline

Constructor with initialization.

Member Function Documentation

◆ More()

bool 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 occ::handle< Graphic3d_CLight > & Graphic3d_LightSet::Iterator::Value ( ) const
inline

Returns current item.

Field Documentation

◆ myFilter

int Graphic3d_LightSet::Iterator::myFilter
protected

◆ myIter

NCollection_IndexedDataMap<occ::handle<Graphic3d_CLight>,size_t>::Iterator Graphic3d_LightSet::Iterator::myIter
protected

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