VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkDiagonalMatrixSource Class Reference

generates a sparse or dense square matrix with user-specified values for the diagonal, superdiagonal, and subdiagonal. More...

#include <vtkDiagonalMatrixSource.h>

Inheritance diagram for vtkDiagonalMatrixSource:
Inheritance graph
[legend]
Collaboration diagram for vtkDiagonalMatrixSource:
Collaboration graph
[legend]

List of all members.

Public Types

enum  StorageType { DENSE, SPARSE }
typedef vtkArrayDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkDiagonalMatrixSourceNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual int GetArrayType ()
virtual void SetArrayType (int)
virtual vtkIdType GetExtents ()
virtual void SetExtents (vtkIdType)
virtual double GetDiagonal ()
virtual void SetDiagonal (double)
virtual double GetSuperDiagonal ()
virtual void SetSuperDiagonal (double)
virtual double GetSubDiagonal ()
virtual void SetSubDiagonal (double)
virtual char * GetRowLabel ()
virtual void SetRowLabel (const char *)
virtual char * GetColumnLabel ()
virtual void SetColumnLabel (const char *)

Static Public Member Functions

static vtkDiagonalMatrixSourceNew ()
static int IsTypeOf (const char *type)
static vtkDiagonalMatrixSourceSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkDiagonalMatrixSource ()
 ~vtkDiagonalMatrixSource ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Detailed Description

generates a sparse or dense square matrix with user-specified values for the diagonal, superdiagonal, and subdiagonal.

Thanks:
Developed by Timothy M. Shead (tshea.nosp@m.d@sa.nosp@m.ndia..nosp@m.gov) at Sandia National Laboratories.
Examples:
vtkDiagonalMatrixSource (Examples)
Tests:
vtkDiagonalMatrixSource (Tests)

Definition at line 42 of file vtkDiagonalMatrixSource.h.


Member Typedef Documentation

Reimplemented from vtkArrayDataAlgorithm.

Definition at line 46 of file vtkDiagonalMatrixSource.h.


Member Enumeration Documentation

Enumerator:
DENSE 
SPARSE 

Definition at line 51 of file vtkDiagonalMatrixSource.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkArrayDataAlgorithm.

static int vtkDiagonalMatrixSource::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkArrayDataAlgorithm.

virtual int vtkDiagonalMatrixSource::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkArrayDataAlgorithm.

Reimplemented from vtkArrayDataAlgorithm.

virtual vtkObjectBase* vtkDiagonalMatrixSource::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkArrayDataAlgorithm.

Reimplemented from vtkArrayDataAlgorithm.

void vtkDiagonalMatrixSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkArrayDataAlgorithm.

virtual void vtkDiagonalMatrixSource::SetArrayType ( int  ) [virtual]

Stores the extents of the output matrix (which is square)

virtual void vtkDiagonalMatrixSource::SetExtents ( vtkIdType  ) [virtual]

Stores the extents of the output matrix (which is square)

Stores the value that will be assigned to diagonal elements (default: 1)

virtual void vtkDiagonalMatrixSource::SetDiagonal ( double  ) [virtual]

Stores the value that will be assigned to diagonal elements (default: 1)

Stores the value that will be assigned to superdiagonal elements (default: 0)

virtual void vtkDiagonalMatrixSource::SetSuperDiagonal ( double  ) [virtual]

Stores the value that will be assigned to superdiagonal elements (default: 0)

Stores the value that will be assigned to subdiagonal elements (default: 0)

virtual void vtkDiagonalMatrixSource::SetSubDiagonal ( double  ) [virtual]

Stores the value that will be assigned to subdiagonal elements (default: 0)

virtual char* vtkDiagonalMatrixSource::GetRowLabel ( ) [virtual]

Controls the output matrix row dimension label. Default: "rows"

virtual void vtkDiagonalMatrixSource::SetRowLabel ( const char *  ) [virtual]

Controls the output matrix row dimension label. Default: "rows"

virtual char* vtkDiagonalMatrixSource::GetColumnLabel ( ) [virtual]

Controls the output matrix column dimension label. Default: "columns"

virtual void vtkDiagonalMatrixSource::SetColumnLabel ( const char *  ) [virtual]

Controls the output matrix column dimension label. Default: "columns"

int vtkDiagonalMatrixSource::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkArrayDataAlgorithm.


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