Implementation of vtkGenericCellIterator. It is just an example that show how to implement the Generic API. It is also used for testing and evaluating the Generic framework.
More...
#include <vtkBridgeCellIterator.h>
Inherits vtkGenericCellIterator.
|
| virtual int | IsA (const char *type) |
| |
| vtkBridgeCellIterator * | NewInstance () const |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| |
| void | Begin () |
| |
| int | IsAtEnd () |
| |
| vtkGenericAdaptorCell * | NewCell () |
| |
| void | GetCell (vtkGenericAdaptorCell *c) |
| |
| vtkGenericAdaptorCell * | GetCell () |
| |
| void | Next () |
| |
| void | InitWithOneCell (vtkBridgeCell *c) |
| |
|
| void | InitWithDataSet (vtkBridgeDataSet *ds, int dim) |
| |
|
| void | InitWithDataSetBoundaries (vtkBridgeDataSet *ds, int dim, int exterior_only) |
| |
|
| void | InitWithOneCell (vtkBridgeDataSet *ds, vtkIdType cellid) |
| |
|
| void | InitWithCellBoundaries (vtkBridgeCell *cell, int dim) |
| |
|
| void | InitWithCells (vtkIdList *cells, vtkBridgeDataSet *ds) |
| |
|
| void | InitWithPoints (vtkPoints *coords, vtkIdList *pts, int dim, vtkIdType cellid) |
| |
Implementation of vtkGenericCellIterator. It is just an example that show how to implement the Generic API. It is also used for testing and evaluating the Generic framework.
- See Also
- vtkGenericCellIterator, vtkBridgeDataSet
- Tests:
- vtkBridgeCellIterator (Tests)
Definition at line 45 of file vtkBridgeCellIterator.h.
| vtkBridgeCellIterator::vtkBridgeCellIterator |
( |
| ) |
|
|
protected |
| virtual vtkBridgeCellIterator::~vtkBridgeCellIterator |
( |
| ) |
|
|
protectedvirtual |
| static int vtkBridgeCellIterator::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
| virtual int vtkBridgeCellIterator::IsA |
( |
const char * |
type | ) |
|
|
virtual |
| virtual vtkObjectBase* vtkBridgeCellIterator::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
| void vtkBridgeCellIterator::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
| void vtkBridgeCellIterator::Begin |
( |
| ) |
|
Move iterator to first position if any (loop initialization).
| int vtkBridgeCellIterator::IsAtEnd |
( |
| ) |
|
Is there no cell at iterator position? (exit condition).
| vtkGenericAdaptorCell* vtkBridgeCellIterator::NewCell |
( |
| ) |
|
Create an empty cell.
- Postcondition
- result_exists: result!=0
| void vtkBridgeCellIterator::GetCell |
( |
vtkGenericAdaptorCell * |
c | ) |
|
Cell at current position
- Precondition
- not_at_end: !IsAtEnd()
-
c_exists: c!=0 THREAD SAFE
| vtkGenericAdaptorCell* vtkBridgeCellIterator::GetCell |
( |
| ) |
|
Cell at current position. NOT THREAD SAFE
- Precondition
- not_at_end: !IsAtEnd()
- Postcondition
- result_exits: result!=0
| void vtkBridgeCellIterator::Next |
( |
| ) |
|
Move iterator to next position. (loop progression).
- Precondition
- not_at_end: !IsAtEnd()
| void vtkBridgeCellIterator::InitWithDataSet |
( |
vtkBridgeDataSet * |
ds, |
|
|
int |
dim |
|
) |
| |
Used internally by vtkBridgeDataSet. Iterate over cells of `ds' of some dimension `dim'.
- Precondition
- ds_exists: ds!=0
-
valid_dim_range: (dim>=-1) && (dim<=3)
| void vtkBridgeCellIterator::InitWithDataSetBoundaries |
( |
vtkBridgeDataSet * |
ds, |
|
|
int |
dim, |
|
|
int |
exterior_only |
|
) |
| |
Used internally by vtkBridgeDataSet. Iterate over boundary cells of `ds' of some dimension `dim'.
- Precondition
- ds_exists: ds!=0
-
valid_dim_range: (dim>=-1) && (dim<=3)
| void vtkBridgeCellIterator::InitWithOneCell |
( |
vtkBridgeDataSet * |
ds, |
|
|
vtkIdType |
cellid |
|
) |
| |
Used internally by vtkBridgeDataSet. Iterate on one cell `id' of `ds'.
- Precondition
- ds_exists: ds!=0
-
valid_id: (id>=0)&&(id<=ds->GetNumberOfCells())
| void vtkBridgeCellIterator::InitWithOneCell |
( |
vtkBridgeCell * |
c | ) |
|
Used internally by vtkBridgeCell. Iterate on one cell `c'.
- Precondition
- c_exists: c!=0
| void vtkBridgeCellIterator::InitWithCellBoundaries |
( |
vtkBridgeCell * |
cell, |
|
|
int |
dim |
|
) |
| |
Used internally by vtkBridgeCell. Iterate on boundary cells of a cell.
- Precondition
- cell_exists: cell!=0
-
valid_dim_range: (dim==-1) || ((dim>=0)&&(dim<cell->GetDimension()))
| void vtkBridgeCellIterator::InitWithCells |
( |
vtkIdList * |
cells, |
|
|
vtkBridgeDataSet * |
ds |
|
) |
| |
Used internally by vtkBridgeCell. Iterate on neighbors defined by `cells' over the dataset `ds'.
- Precondition
- cells_exist: cells!=0
-
ds_exists: ds!=0
| void vtkBridgeCellIterator::InitWithPoints |
( |
vtkPoints * |
coords, |
|
|
vtkIdList * |
pts, |
|
|
int |
dim, |
|
|
vtkIdType |
cellid |
|
) |
| |
Used internally by vtkBridgeCell. Iterate on a boundary cell (defined by its points `pts' with coordinates `coords', dimension `dim' and unique id `cellid') of a cell.
- Precondition
- coords_exist: coords!=0
-
pts_exist: pts!=0
-
valid_dim: dim>=0 && dim<=2
-
valid_points: pts->GetNumberOfIds()>dim
| vtkBridgeCellIteratorStrategy* vtkBridgeCellIterator::CurrentIterator |
|
protected |
| vtkBridgeCellIteratorOnDataSet* vtkBridgeCellIterator::IteratorOnDataSet |
|
protected |
| vtkBridgeCellIteratorOne* vtkBridgeCellIterator::IteratorOneCell |
|
protected |
| vtkBridgeCellIteratorOnCellBoundaries* vtkBridgeCellIterator::IteratorOnCellBoundaries |
|
protected |
| vtkBridgeCellIteratorOnCellList* vtkBridgeCellIterator::IteratorOnCellList |
|
protected |
| vtkBridgeDataSet* vtkBridgeCellIterator::DataSet |
|
protected |
| vtkIdType vtkBridgeCellIterator::Id |
|
protected |
| int vtkBridgeCellIterator::OneCell |
|
protected |
| vtkIdType vtkBridgeCellIterator::Size |
|
protected |
| vtkBridgeCell* vtkBridgeCellIterator::Cell |
|
protected |
The documentation for this class was generated from the following file: