MCPcopy Create free account
hub / github.com/Kitware/VTK / vtkExplicitStructuredGrid

Method vtkExplicitStructuredGrid

Common/DataModel/vtkExplicitStructuredGrid.cxx:54–66  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

52
53//------------------------------------------------------------------------------
54vtkExplicitStructuredGrid::vtkExplicitStructuredGrid()
55{
56 this->Cells = vtkSmartPointer<vtkCellArray>::New();
57 this->Cells->UseFixedSizeDefaultStorage(8);
58
59 this->FacesConnectivityFlagsArrayName = nullptr;
60
61 int extent[6] = { 0, -1, 0, -1, 0, -1 };
62 std::copy(this->Extent, this->Extent + 6, extent);
63
64 this->Information->Set(vtkDataObject::DATA_EXTENT_TYPE(), VTK_3D_EXTENT);
65 this->Information->Set(vtkDataObject::DATA_EXTENT(), this->Extent, 6);
66}
67
68//------------------------------------------------------------------------------
69vtkExplicitStructuredGrid::~vtkExplicitStructuredGrid()

Callers

nothing calls this directly

Calls 4

NewFunction · 0.50
copyFunction · 0.50
SetMethod · 0.45

Tested by

no test coverage detected