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

Method SetComponent

Common/Core/vtkBitArray.cxx:707–711  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Set the data component at the ith tuple and jth component location. Note that i<NumberOfTuples and j<NumberOfComponents. Make sure enough memory has been allocated (use SetNumberOfTuples() and SetNumberOfComponents()).

Source from the content-addressed store, hash-verified

705// memory has been allocated (use SetNumberOfTuples() and
706// SetNumberOfComponents()).
707void vtkBitArray::SetComponent(vtkIdType i, int j, double c)
708{
709 this->SetValue(i * this->NumberOfComponents + j, static_cast<int>(c));
710 this->DataChanged();
711}
712
713//------------------------------------------------------------------------------
714void vtkBitArray::RemoveTuple(vtkIdType id)

Callers 15

operator()Method · 0.45
ReadNodeDataMethod · 0.45
ReadCellDataMethod · 0.45
PaintMethod · 0.45
PaintMethod · 0.45
ReadFieldDataMethod · 0.45
LoadBoundsVariableMethod · 0.45
WriteGlobalDataMethod · 0.45

Calls 2

SetValueMethod · 0.95
DataChangedMethod · 0.95

Tested by 15

PaintMethod · 0.36
PaintMethod · 0.36
PaintMethod · 0.36
testArrayMethod · 0.36
TestSortDataArrayFunction · 0.36
TestIsValidOffsetsFunction · 0.36
GetGridFunction · 0.36
TestSortFieldDataFunction · 0.36
ApplyXYZFieldToGridFunction · 0.36
ApplyXYZFieldToGridFunction · 0.36