Rhino C++ API  7.21
Public Member Functions | List of all members
ONX_ModelComponentIterator Class Reference

#include <opennurbs_extensions.h>

Public Member Functions

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

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. Remarks: 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

◆ CurrentComponentWeakReference()

ON_ModelComponentWeakReference ONX_ModelComponentIterator::CurrentComponentWeakReference ( ) const

◆ FirstComponent()

const ON_ModelComponent* ONX_ModelComponentIterator::FirstComponent ( )

Use these with caution unless it is clear you are the only thread with references to the model and the iterator.

◆ FirstComponentReference()

ON_ModelComponentReference ONX_ModelComponentIterator::FirstComponentReference ( )

◆ FirstComponentWeakReference()

ON_ModelComponentWeakReference ONX_ModelComponentIterator::FirstComponentWeakReference ( )

◆ LastComponent()

const ON_ModelComponent* ONX_ModelComponentIterator::LastComponent ( )

◆ LastComponentReference()

ON_ModelComponentReference ONX_ModelComponentIterator::LastComponentReference ( )

◆ LastComponentWeakReference()

ON_ModelComponentWeakReference ONX_ModelComponentIterator::LastComponentWeakReference ( )

◆ Model()

const ONX_Model* ONX_ModelComponentIterator::Model ( ) const

◆ NextComponent()

const ON_ModelComponent* ONX_ModelComponentIterator::NextComponent ( )

◆ NextComponentReference()

ON_ModelComponentReference ONX_ModelComponentIterator::NextComponentReference ( )

◆ NextComponentWeakReference()

ON_ModelComponentWeakReference ONX_ModelComponentIterator::NextComponentWeakReference ( )

◆ operator=()

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

◆ PreviousComponent()

const ON_ModelComponent* ONX_ModelComponentIterator::PreviousComponent ( )

◆ PreviousComponentReference()

ON_ModelComponentReference ONX_ModelComponentIterator::PreviousComponentReference ( )

◆ PreviousComponentWeakReference()

ON_ModelComponentWeakReference ONX_ModelComponentIterator::PreviousComponentWeakReference ( )