24#include "vtkObjectFactory.h"
96 this->
Elements =
new double[this->NElements];
98 for (i=0; i<this->NElements; i++)
108 vtkIdType index = -1;
120 vtkErrorMacro(
"Error: ElementId not in sparse matrix");
151 this->
Elements =
new double[this->NElements];
153 for (i=0; i<this->NElements; i++)
169 for (i=0; i<numberOfNeighborhoodPoints; i++)
Query the neighborhood surrounding the set point id in an data set item.
vtkIdType GetPointId(vtkIdType i)
vtkIdType GetNumberOfPoints()
Represents a single row of a vtkvmtkSparseMatrix: a sparse list of (column id, value) pairs plus a se...
void SetNumberOfElements(vtkIdType numberOfElements)
void CopyStencil(vtkvmtkStencil *stencil)
vtkIdType GetElementIndex(vtkIdType id)
void DeepCopy(vtkvmtkSparseMatrixRow *src)
void CopyNeighborhood(vtkvmtkNeighborhood *neighborhood)
~vtkvmtkSparseMatrixRow()
Serves as an abstract base for a weighting scheme applied to a single point's neighborhood of a data ...
double GetWeight(vtkIdType i)
vtkStandardNewMacro(vtkvmtkSparseMatrixRow)