ONX_ModelComponentIterator Class Reference

#include <opennurbs_extensions.h>

Public Member Functions

 ONX_ModelComponentIterator ()=default
 
 ONX_ModelComponentIterator (const ONX_ModelComponentIterator &)=default
 
 ONX_ModelComponentIterator (const ONX_Model &model, ON_ModelComponent::Type component_type)
 
 ~ONX_ModelComponentIterator ()=default
 
unsigned int ActiveComponentCount () const
 
const ON_ModelComponentCurrentComponent () const
 
ON_ModelComponentReference CurrentComponentReference () const
 
const ON_ModelComponentFirstComponent ()
 
ON_ModelComponentReference FirstComponentReference ()
 
const ON_ModelComponentLastComponent ()
 
ON_ModelComponentReference LastComponentReference ()
 
const ONX_ModelModel () const
 
const ON_ModelComponentNextComponent ()
 
ON_ModelComponentReference NextComponentReference ()
 
ONX_ModelComponentIteratoroperator= (const ONX_ModelComponentIterator &)=default
 
const ON_ModelComponentPreviousComponent ()
 
ON_ModelComponentReference PreviousComponentReference ()
 

Constructor & Destructor Documentation

◆ ONX_ModelComponentIterator() [1/3]

ONX_ModelComponentIterator::ONX_ModelComponentIterator ( )
default

◆ ~ONX_ModelComponentIterator()

ONX_ModelComponentIterator::~ONX_ModelComponentIterator ( )
default

◆ ONX_ModelComponentIterator() [2/3]

ONX_ModelComponentIterator::ONX_ModelComponentIterator ( const ONX_ModelComponentIterator )
default

◆ ONX_ModelComponentIterator() [3/3]

ONX_ModelComponentIterator::ONX_ModelComponentIterator ( const ONX_Model model,
ON_ModelComponent::Type  component_type 
)

Member Function Documentation

◆ ActiveComponentCount()

unsigned int ONX_ModelComponentIterator::ActiveComponentCount ( ) const
Returns
Number of active components in the current model.

If the model is modified during iteration, this value will changes.

◆ CurrentComponent()

const ON_ModelComponent* ONX_ModelComponentIterator::CurrentComponent ( ) const

◆ CurrentComponentReference()

ON_ModelComponentReference ONX_ModelComponentIterator::CurrentComponentReference ( ) const

◆ FirstComponent()

const ON_ModelComponent* ONX_ModelComponentIterator::FirstComponent ( )

◆ FirstComponentReference()

ON_ModelComponentReference ONX_ModelComponentIterator::FirstComponentReference ( )

◆ LastComponent()

const ON_ModelComponent* ONX_ModelComponentIterator::LastComponent ( )

◆ LastComponentReference()

ON_ModelComponentReference ONX_ModelComponentIterator::LastComponentReference ( )

◆ Model()

const ONX_Model* ONX_ModelComponentIterator::Model ( ) const

◆ NextComponent()

const ON_ModelComponent* ONX_ModelComponentIterator::NextComponent ( )

◆ NextComponentReference()

ON_ModelComponentReference ONX_ModelComponentIterator::NextComponentReference ( )

◆ operator=()

ONX_ModelComponentIterator& ONX_ModelComponentIterator::operator= ( const ONX_ModelComponentIterator )
default

◆ PreviousComponent()

const ON_ModelComponent* ONX_ModelComponentIterator::PreviousComponent ( )

◆ PreviousComponentReference()

ON_ModelComponentReference ONX_ModelComponentIterator::PreviousComponentReference ( )