OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
GridIteratorComponent Class Reference

#include "GridIteratorComponent.h"

Inheritance diagram for GridIteratorComponent:
GridIteratorComponentSubspace

Public Member Functions

 GridIteratorComponent (index_t startPoint, index_t endPoint, index_t stepWidth)
 
virtual ~GridIteratorComponent ()
 
bool HasNext () const
 
bool HasPrior () const
 
void SetToNext (index_t &index)
 
void SetFromLastToFirst (index_t &index)
 
index_t GetNextTo (index_t index)
 
index_t GetPreviousTo (index_t index)
 
index_t GetStartPoint () const
 
index_t GetEndPoint () const
 
index_t GetStepwidth () const
 

Protected Member Functions

void SetResetDistance ()
 

Protected Attributes

index_t _currentPoint
 
index_t _startPoint
 
index_t _endPoint
 

Constructor & Destructor Documentation

◆ GridIteratorComponent()

GridIteratorComponent::GridIteratorComponent ( index_t startPoint,
index_t endPoint,
index_t stepWidth )
inline

◆ ~GridIteratorComponent()

virtual GridIteratorComponent::~GridIteratorComponent ( )
inlinevirtual

Member Function Documentation

◆ GetEndPoint()

index_t GridIteratorComponent::GetEndPoint ( ) const
inline

◆ GetNextTo()

index_t GridIteratorComponent::GetNextTo ( index_t index)
inline

◆ GetPreviousTo()

index_t GridIteratorComponent::GetPreviousTo ( index_t index)
inline

◆ GetStartPoint()

index_t GridIteratorComponent::GetStartPoint ( ) const
inline

◆ GetStepwidth()

index_t GridIteratorComponent::GetStepwidth ( ) const
inline

◆ HasNext()

bool GridIteratorComponent::HasNext ( ) const
inline

◆ HasPrior()

bool GridIteratorComponent::HasPrior ( ) const
inline

◆ SetFromLastToFirst()

void GridIteratorComponent::SetFromLastToFirst ( index_t & index)
inline

◆ SetResetDistance()

void GridIteratorComponent::SetResetDistance ( )
inlineprotected

◆ SetToNext()

void GridIteratorComponent::SetToNext ( index_t & index)
inline

Member Data Documentation

◆ _currentPoint

index_t GridIteratorComponent::_currentPoint
protected

◆ _endPoint

index_t GridIteratorComponent::_endPoint
protected

◆ _startPoint

index_t GridIteratorComponent::_startPoint
protected

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