Merge pull request #203 from vejmarie/fix_vtkcelliterator
Fix vtkcelliterator
This commit is contained in:
commit
462e8ec4db
|
@ -63,7 +63,7 @@ SMDS_VtkCellIteratorToUNV::SMDS_VtkCellIteratorToUNV(SMDS_Mesh* mesh, int vtkCel
|
||||||
_mesh = mesh;
|
_mesh = mesh;
|
||||||
_cellId = vtkCellId;
|
_cellId = vtkCellId;
|
||||||
_index = 0;
|
_index = 0;
|
||||||
_type = aType;
|
// _type = aType;
|
||||||
//MESSAGE("SMDS_VtkCellInterlacedIterator (UNV)" << _type);
|
//MESSAGE("SMDS_VtkCellInterlacedIterator (UNV)" << _type);
|
||||||
|
|
||||||
_vtkIdList = vtkIdList::New();
|
_vtkIdList = vtkIdList::New();
|
||||||
|
@ -72,6 +72,7 @@ SMDS_VtkCellIteratorToUNV::SMDS_VtkCellIteratorToUNV(SMDS_Mesh* mesh, int vtkCel
|
||||||
grid->GetCellPoints((vtkIdType)_cellId, (vtkIdType&)_nbNodes, pts);
|
grid->GetCellPoints((vtkIdType)_cellId, (vtkIdType&)_nbNodes, pts);
|
||||||
_vtkIdList->SetNumberOfIds(_nbNodes);
|
_vtkIdList->SetNumberOfIds(_nbNodes);
|
||||||
const int *ids = 0;
|
const int *ids = 0;
|
||||||
|
_type = aType;
|
||||||
switch (_type)
|
switch (_type)
|
||||||
{
|
{
|
||||||
case SMDSEntity_Quad_Edge:
|
case SMDSEntity_Quad_Edge:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user