Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkVectorNorm Class Reference

generate scalars from Euclidean norm of vectors. More...

#include <vtkVectorNorm.h>

Inheritance diagram for vtkVectorNorm:

Inheritance graph
[legend]
Collaboration diagram for vtkVectorNorm:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetNormalize (int)
virtual int GetNormalize ()
virtual void NormalizeOn ()
virtual void NormalizeOff ()
virtual void SetAttributeMode (int)
virtual int GetAttributeMode ()
void SetAttributeModeToDefault ()
void SetAttributeModeToUsePointData ()
void SetAttributeModeToUseCellData ()
const char * GetAttributeModeAsString ()

Static Public Methods

int IsTypeOf (const char *type)
vtkVectorNorm * SafeDownCast (vtkObject *o)
vtkVectorNorm * New ()

Protected Methods

 vtkVectorNorm ()
 ~vtkVectorNorm ()
 vtkVectorNorm (const vtkVectorNorm &)
void operator= (const vtkVectorNorm &)
void Execute ()

Protected Attributes

int Normalize
int AttributeMode

Detailed Description

generate scalars from Euclidean norm of vectors.

Date:
2000/12/10 20:08:57
Revision:
1.29

vtkVectorNorm is a filter that generates scalar values by computing Euclidean norm of vector triplets. Scalars can be normalized 0<=s<=1 if desired.

Note that this filter operates on point or cell attribute data, or both. By default, the filter operates on both point and cell data if vector point and cell data, respectively, are available from the input. Alternatively, you can choose to generate scalar norm values for just cell or point data.

Examples:
vtkVectorNorm (examples)

Definition at line 69 of file vtkVectorNorm.h.


Constructor & Destructor Documentation

vtkVectorNorm::vtkVectorNorm   [protected]
 

vtkVectorNorm::~vtkVectorNorm   [inline, protected]
 

Definition at line 101 of file vtkVectorNorm.h.

vtkVectorNorm::vtkVectorNorm const vtkVectorNorm &    [inline, protected]
 

Definition at line 102 of file vtkVectorNorm.h.


Member Function Documentation

virtual const char* vtkVectorNorm::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToDataSetFilter.

int vtkVectorNorm::IsTypeOf const char *    type [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 vtkDataSetToDataSetFilter.

virtual int vtkVectorNorm::IsA const char *    type [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 vtkDataSetToDataSetFilter.

vtkVectorNorm* vtkVectorNorm::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToDataSetFilter.

void vtkVectorNorm::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 vtkSource.

vtkVectorNorm* vtkVectorNorm::New   [static]
 

Construct with normalize flag off.

Reimplemented from vtkDataSetSource.

virtual void vtkVectorNorm::SetNormalize int    [virtual]
 

Specify whether to normalize scalar values.

virtual int vtkVectorNorm::GetNormalize   [virtual]
 

virtual void vtkVectorNorm::NormalizeOn   [virtual]
 

virtual void vtkVectorNorm::NormalizeOff   [virtual]
 

virtual void vtkVectorNorm::SetAttributeMode int    [virtual]
 

Control how the filter works to generate scalar data from the input vector data. By default, (AttributeModeToDefault) the filter will generate the scalar norm for point and cell data (if vector data present in the input). Alternatively, you can explicitly set the filter to generate point data (AttributeModeToUsePointData) or cell data (AttributeModeToUseCellData).

virtual int vtkVectorNorm::GetAttributeMode   [virtual]
 

void vtkVectorNorm::SetAttributeModeToDefault   [inline]
 

Definition at line 91 of file vtkVectorNorm.h.

void vtkVectorNorm::SetAttributeModeToUsePointData   [inline]
 

Definition at line 93 of file vtkVectorNorm.h.

void vtkVectorNorm::SetAttributeModeToUseCellData   [inline]
 

Definition at line 95 of file vtkVectorNorm.h.

const char* vtkVectorNorm::GetAttributeModeAsString  
 

void vtkVectorNorm::operator= const vtkVectorNorm &    [inline, protected]
 

Definition at line 103 of file vtkVectorNorm.h.

void vtkVectorNorm::Execute   [protected, virtual]
 

Reimplemented from vtkSource.


Member Data Documentation

int vtkVectorNorm::Normalize [protected]
 

Definition at line 107 of file vtkVectorNorm.h.

int vtkVectorNorm::AttributeMode [protected]
 

Definition at line 108 of file vtkVectorNorm.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:01:28 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001