Inviwo
0.9.10.1
Inviwo documentation
|
#include <elementiterator.h>
Public Member Functions | |
ElementIterator (const Connectivity *parent, GridPrimitive dimension, ind index=0) | |
ElementIterator & | operator * () |
ElementIterator & | operator++ () |
ElementIterator | operator++ (int) |
ElementIterator & | operator-- () |
ElementIterator | operator-- (int) |
ElementIterator | operator+ (ind offset) |
ElementIterator & | operator+= (ind offset) |
ElementIterator | operator- (ind offset) |
ElementIterator & | operator-= (ind offset) |
bool | operator== (ElementIterator &other) |
bool | operator!= (ElementIterator &other) |
GridPrimitive | getType () const |
GridPrimitive type the iterator walks through. | |
ind | getIndex () const |
operator ind () const | |
ConnectionRange | connection (GridPrimitive toType) const |
Iterate over connected GridPrimitives (neighbors etc) | |
const Connectivity * | getGrid () const |
Protected Attributes | |
ind | index_ |
Index to the current element. | |
const Connectivity * | parent_ |
Pointer to Connectivity iterated through - Does not delete. | |
const GridPrimitive | dimension_ |
GridPrimitive type iterated over (0D vertices etc) | |
Friends | |
ElementIterator | operator+ (ind, ElementIterator &) |
ElementIterator | operator- (ind, ElementIterator &) |
Iterates over one GridPrimitive type in a Connectivity.