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

Method Use32BitStorage

Common/DataModel/vtkCellArray.cxx:1033–1045  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1031
1032//------------------------------------------------------------------------------
1033void vtkCellArray::Use32BitStorage()
1034{
1035 if (this->IsStorage32Bit())
1036 {
1037 this->Initialize();
1038 return;
1039 }
1040 this->Offsets = vtkSmartPointer<AOSArray32>::New();
1041 this->Connectivity = vtkSmartPointer<AOSArray32>::New();
1042 this->GetOffsetsAOSArray32()->InsertNextValue(0);
1043 this->StorageType = StorageTypes::Int32;
1044 this->Modified();
1045}
1046
1047//------------------------------------------------------------------------------
1048void vtkCellArray::Use64BitStorage()

Callers 15

UseDefaultStorageMethod · 0.95
Read2DVolumeConnFunction · 0.80
Read3DVolumeConnFastFunction · 0.80
ReadLabelListListMethod · 0.80
CreateCellFacesMethod · 0.80
RemoveGhostCellsMethod · 0.80
RemoveGhostCellsMethod · 0.80
NewMethod · 0.80
TestUse32BitStorageFunction · 0.80
RunTestFunction · 0.80

Calls 4

InitializeMethod · 0.95
NewFunction · 0.50
InsertNextValueMethod · 0.45
ModifiedMethod · 0.45

Tested by 9

NewMethod · 0.64
TestUse32BitStorageFunction · 0.64
RunTestFunction · 0.64
Convert2DImageToPolyDataFunction · 0.64
Convert1DImageToPolyDataFunction · 0.64
Convert1DImageToPolyDataFunction · 0.64
Convert2DImageToPolyDataFunction · 0.64