vtkVectorNorm.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00044 #ifndef __vtkVectorNorm_h
00045 #define __vtkVectorNorm_h
00046
00047 #define VTK_ATTRIBUTE_MODE_DEFAULT 0
00048 #define VTK_ATTRIBUTE_MODE_USE_POINT_DATA 1
00049 #define VTK_ATTRIBUTE_MODE_USE_CELL_DATA 2
00050
00051 #include "vtkDataSetToDataSetFilter.h"
00052
00053 class VTK_GRAPHICS_EXPORT vtkVectorNorm : public vtkDataSetToDataSetFilter
00054 {
00055 public:
00056 vtkTypeRevisionMacro(vtkVectorNorm,vtkDataSetToDataSetFilter);
00057 void PrintSelf(ostream& os, vtkIndent indent);
00058
00060 static vtkVectorNorm *New();
00061
00063
00064 vtkSetMacro(Normalize,int);
00065 vtkGetMacro(Normalize,int);
00066 vtkBooleanMacro(Normalize,int);
00068
00070
00076 vtkSetMacro(AttributeMode,int);
00077 vtkGetMacro(AttributeMode,int);
00078 void SetAttributeModeToDefault()
00079 {this->SetAttributeMode(VTK_ATTRIBUTE_MODE_DEFAULT);};
00080 void SetAttributeModeToUsePointData()
00081 {this->SetAttributeMode(VTK_ATTRIBUTE_MODE_USE_POINT_DATA);};
00082 void SetAttributeModeToUseCellData()
00083 {this->SetAttributeMode(VTK_ATTRIBUTE_MODE_USE_CELL_DATA);};
00084 const char *GetAttributeModeAsString();
00086
00087 protected:
00088 vtkVectorNorm();
00089 ~vtkVectorNorm() {};
00090
00091 void Execute();
00092
00093 int Normalize;
00094 int AttributeMode;
00095 private:
00096 vtkVectorNorm(const vtkVectorNorm&);
00097 void operator=(const vtkVectorNorm&);
00098 };
00099
00100 #endif