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

Method SetVoidArray

Common/Core/vtkVariantArray.cxx:670–674  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

668
669//------------------------------------------------------------------------------
670void vtkVariantArray::SetVoidArray(void* arr, vtkIdType size, int save)
671{
672 this->SetArray(static_cast<ValueType*>(arr), size, save);
673 this->DataChanged();
674}
675
676//------------------------------------------------------------------------------
677void vtkVariantArray::SetVoidArray(void* arr, vtkIdType size, int save, int deleteM)

Callers 15

XdmfToVTKArrayMethod · 0.80
ReadDataMethod · 0.80
get_varsMethod · 0.80
EnableDeadCellsMethod · 0.80
EnableCellUserIdsMethod · 0.80
AddCellPropertyMethod · 0.80
BuildCellsMethod · 0.80
GetSideSetMethod · 0.80
GetDataFunction · 0.80
ReadArraysMethod · 0.80

Calls 2

SetArrayMethod · 0.95
DataChangedMethod · 0.95

Tested by 5

testBufferSharedMethod · 0.64
testVoidPointerMethod · 0.64
assign_void_arrayFunction · 0.64
TestVariantArrayFunction · 0.64