VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkNormalizeMatrixVectors Class Reference

given a sparse input matrix, produces a sparse output matrix with each vector normalized to unit length with respect to a p-norm (default p=2). More...

#include <vtkNormalizeMatrixVectors.h>

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

List of all members.

Public Types

typedef vtkArrayDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkNormalizeMatrixVectorsNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual int GetVectorDimension ()
virtual void SetVectorDimension (int)
virtual double GetPValue ()
virtual void SetPValue (double)

Static Public Member Functions

static vtkNormalizeMatrixVectorsNew ()
static int IsTypeOf (const char *type)
static vtkNormalizeMatrixVectorsSafeDownCast (vtkObjectBase *o)

Protected Member Functions

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

Protected Attributes

int VectorDimension
double PValue

Detailed Description

given a sparse input matrix, produces a sparse output matrix with each vector normalized to unit length with respect to a p-norm (default p=2).

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

Definition at line 40 of file vtkNormalizeMatrixVectors.h.


Member Typedef Documentation

Reimplemented from vtkArrayDataAlgorithm.

Definition at line 44 of file vtkNormalizeMatrixVectors.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 vtkNormalizeMatrixVectors::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 vtkNormalizeMatrixVectors::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* vtkNormalizeMatrixVectors::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkArrayDataAlgorithm.

Reimplemented from vtkArrayDataAlgorithm.

void vtkNormalizeMatrixVectors::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.

Controls whether to normalize row-vectors or column-vectors. 0 = rows, 1 = columns.

virtual void vtkNormalizeMatrixVectors::SetVectorDimension ( int  ) [virtual]

Controls whether to normalize row-vectors or column-vectors. 0 = rows, 1 = columns.

Value of p in p-norm normalization, subject to p >= 1. Default is p=2 (Euclidean norm).

virtual void vtkNormalizeMatrixVectors::SetPValue ( double  ) [virtual]

Value of p in p-norm normalization, subject to p >= 1. Default is p=2 (Euclidean norm).

int vtkNormalizeMatrixVectors::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.


Member Data Documentation

Definition at line 70 of file vtkNormalizeMatrixVectors.h.

Definition at line 71 of file vtkNormalizeMatrixVectors.h.


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