28 #ifndef __vtkvmtkSparseMatrixRow_h 29 #define __vtkvmtkSparseMatrixRow_h 31 #include "vtkObject.h" 35 #include "vtkvmtkWin32Header.h" 44 vtkIdType
GetElementId(vtkIdType i) {
return this->ElementIds[i]; }
45 void SetElementId(vtkIdType i, vtkIdType
id) { this->ElementIds[i] = id; }
47 double GetElement(vtkIdType i) {
return this->Elements[i]; }
48 void SetElement(vtkIdType i,
double element) { this->Elements[i] = element; }
50 vtkIdType GetElementIndex(vtkIdType
id);
53 void SetNumberOfElements(vtkIdType numberOfElements);
55 vtkSetMacro(DiagonalElement,
double);
56 vtkGetMacro(DiagonalElement,
double);
void SetElement(vtkIdType i, double element)
double GetElement(vtkIdType i)
vtkIdType GetElementId(vtkIdType i)
void SetElementId(vtkIdType i, vtkIdType id)
Class to handle operating on rows of a sparse matrix.
Apply a weighting matrix to a single neighborhood of a data set.
vtkIdType GetNumberOfElements()
Query the neighborhood surrounding the set point id in an data set item.