VTK
|
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>
Public Types | |
typedef vtkArrayDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkNormalizeMatrixVectors * | NewInstance () 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 vtkNormalizeMatrixVectors * | New () |
static int | IsTypeOf (const char *type) |
static vtkNormalizeMatrixVectors * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkNormalizeMatrixVectors () | |
~vtkNormalizeMatrixVectors () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | VectorDimension |
double | PValue |
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).
Definition at line 40 of file vtkNormalizeMatrixVectors.h.
Reimplemented from vtkArrayDataAlgorithm.
Definition at line 44 of file vtkNormalizeMatrixVectors.h.
vtkNormalizeMatrixVectors::vtkNormalizeMatrixVectors | ( | ) | [protected] |
vtkNormalizeMatrixVectors::~vtkNormalizeMatrixVectors | ( | ) | [protected] |
static vtkNormalizeMatrixVectors* vtkNormalizeMatrixVectors::New | ( | ) | [static] |
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.
static vtkNormalizeMatrixVectors* vtkNormalizeMatrixVectors::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
virtual int vtkNormalizeMatrixVectors::GetVectorDimension | ( | ) | [virtual] |
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.
virtual double vtkNormalizeMatrixVectors::GetPValue | ( | ) | [virtual] |
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.
int vtkNormalizeMatrixVectors::VectorDimension [protected] |
Definition at line 70 of file vtkNormalizeMatrixVectors.h.
double vtkNormalizeMatrixVectors::PValue [protected] |
Definition at line 71 of file vtkNormalizeMatrixVectors.h.