VMTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkvmtkSparseMatrixRow Class Reference

Class to handle operating on rows of a sparse matrix. More...

#include <vtkvmtkSparseMatrixRow.h>

Inheritance diagram for vtkvmtkSparseMatrixRow:
[legend]
Collaboration diagram for vtkvmtkSparseMatrixRow:
[legend]

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkvmtkSparseMatrixRowNewInstance () const
 
vtkIdType GetElementId (vtkIdType i)
 
void SetElementId (vtkIdType i, vtkIdType id)
 
double GetElement (vtkIdType i)
 
void SetElement (vtkIdType i, double element)
 
vtkIdType GetElementIndex (vtkIdType id)
 
vtkIdType GetNumberOfElements ()
 
void SetNumberOfElements (vtkIdType numberOfElements)
 
virtual void SetDiagonalElement (double)
 
virtual double GetDiagonalElement ()
 
void Initialize ()
 
void CopyStencil (vtkvmtkStencil *stencil)
 
void CopyNeighborhood (vtkvmtkNeighborhood *neighborhood)
 
void DeepCopy (vtkvmtkSparseMatrixRow *src)
 

Static Public Member Functions

static vtkvmtkSparseMatrixRowNew ()
 
static int IsTypeOf (const char *type)
 
static vtkvmtkSparseMatrixRowSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkvmtkSparseMatrixRow ()
 
 ~vtkvmtkSparseMatrixRow ()
 

Protected Attributes

vtkIdType * ElementIds
 
double * Elements
 
double DiagonalElement
 
vtkIdType NElements
 

Detailed Description

Class to handle operating on rows of a sparse matrix.

Date
2006/04/06 16:46:44
Revision
1.3

..

Definition at line 37 of file vtkvmtkSparseMatrixRow.h.

Member Typedef Documentation

◆ Superclass

Definition at line 42 of file vtkvmtkSparseMatrixRow.h.

Constructor & Destructor Documentation

◆ vtkvmtkSparseMatrixRow()

vtkvmtkSparseMatrixRow::vtkvmtkSparseMatrixRow ( )
protected

◆ ~vtkvmtkSparseMatrixRow()

vtkvmtkSparseMatrixRow::~vtkvmtkSparseMatrixRow ( )
protected

Member Function Documentation

◆ New()

static vtkvmtkSparseMatrixRow* vtkvmtkSparseMatrixRow::New ( )
static

◆ IsTypeOf()

static int vtkvmtkSparseMatrixRow::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkvmtkSparseMatrixRow::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkvmtkSparseMatrixRow* vtkvmtkSparseMatrixRow::SafeDownCast ( vtkObjectBase *  o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkvmtkSparseMatrixRow::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkvmtkSparseMatrixRow* vtkvmtkSparseMatrixRow::NewInstance ( ) const

◆ GetElementId()

vtkIdType vtkvmtkSparseMatrixRow::GetElementId ( vtkIdType  i)
inline

Definition at line 44 of file vtkvmtkSparseMatrixRow.h.

44 { return this->ElementIds[i]; }

◆ SetElementId()

void vtkvmtkSparseMatrixRow::SetElementId ( vtkIdType  i,
vtkIdType  id 
)
inline

Definition at line 45 of file vtkvmtkSparseMatrixRow.h.

45 { this->ElementIds[i] = id; }

◆ GetElement()

double vtkvmtkSparseMatrixRow::GetElement ( vtkIdType  i)
inline

Definition at line 47 of file vtkvmtkSparseMatrixRow.h.

47 { return this->Elements[i]; }

◆ SetElement()

void vtkvmtkSparseMatrixRow::SetElement ( vtkIdType  i,
double  element 
)
inline

Definition at line 48 of file vtkvmtkSparseMatrixRow.h.

48 { this->Elements[i] = element; }

◆ GetElementIndex()

vtkIdType vtkvmtkSparseMatrixRow::GetElementIndex ( vtkIdType  id)

◆ GetNumberOfElements()

vtkIdType vtkvmtkSparseMatrixRow::GetNumberOfElements ( )
inline

Definition at line 52 of file vtkvmtkSparseMatrixRow.h.

52 { return this->NElements; }

◆ SetNumberOfElements()

void vtkvmtkSparseMatrixRow::SetNumberOfElements ( vtkIdType  numberOfElements)

◆ SetDiagonalElement()

virtual void vtkvmtkSparseMatrixRow::SetDiagonalElement ( double  )
virtual

◆ GetDiagonalElement()

virtual double vtkvmtkSparseMatrixRow::GetDiagonalElement ( )
virtual

◆ Initialize()

void vtkvmtkSparseMatrixRow::Initialize ( )

◆ CopyStencil()

void vtkvmtkSparseMatrixRow::CopyStencil ( vtkvmtkStencil stencil)

◆ CopyNeighborhood()

void vtkvmtkSparseMatrixRow::CopyNeighborhood ( vtkvmtkNeighborhood neighborhood)

◆ DeepCopy()

void vtkvmtkSparseMatrixRow::DeepCopy ( vtkvmtkSparseMatrixRow src)

Standard DeepCopy method. Since this object contains no reference to other objects, there is no ShallowCopy.

Member Data Documentation

◆ ElementIds

vtkIdType* vtkvmtkSparseMatrixRow::ElementIds
protected

Definition at line 71 of file vtkvmtkSparseMatrixRow.h.

◆ Elements

double* vtkvmtkSparseMatrixRow::Elements
protected

Definition at line 72 of file vtkvmtkSparseMatrixRow.h.

◆ DiagonalElement

double vtkvmtkSparseMatrixRow::DiagonalElement
protected

Definition at line 73 of file vtkvmtkSparseMatrixRow.h.

◆ NElements

vtkIdType vtkvmtkSparseMatrixRow::NElements
protected

Definition at line 74 of file vtkvmtkSparseMatrixRow.h.


The documentation for this class was generated from the following file: