------------------------------------------------------------------------------ Constructor with default bounds (0,1, 0,1, 0,1).
| 32 | //------------------------------------------------------------------------------ |
| 33 | // Constructor with default bounds (0,1, 0,1, 0,1). |
| 34 | VTK_ABI_NAMESPACE_BEGIN |
| 35 | vtkDataSet::vtkDataSet() |
| 36 | { |
| 37 | vtkMath::UninitializeBounds(this->Bounds); |
| 38 | // Observer for updating the cell/point ghost arrays pointers |
| 39 | this->DataObserver = vtkCallbackCommand::New(); |
| 40 | this->DataObserver->SetClientData(this); |
| 41 | |
| 42 | this->PointData = vtkPointData::New(); |
| 43 | // when point data is modified, we update the point data ghost array cache |
| 44 | this->PointData->AddObserver(vtkCommand::ModifiedEvent, this->DataObserver); |
| 45 | |
| 46 | this->CellData = vtkCellData::New(); |
| 47 | // when cell data is modified, we update the cell data ghost array cache |
| 48 | this->CellData->AddObserver(vtkCommand::ModifiedEvent, this->DataObserver); |
| 49 | |
| 50 | this->ScalarRange[0] = 0.0; |
| 51 | this->ScalarRange[1] = 1.0; |
| 52 | } |
| 53 | |
| 54 | //------------------------------------------------------------------------------ |
| 55 | vtkDataSet::~vtkDataSet() |
nothing calls this directly
no test coverage detected