Graphics/vtkSubPixelPositionEdgels.h Source File

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

# Graphics/vtkSubPixelPositionEdgels.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkSubPixelPositionEdgels.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00055 #ifndef __vtkSubPixelPositionEdgels_h
    00056 #define __vtkSubPixelPositionEdgels_h
    00057
    00058 #include "vtkPolyDataToPolyDataFilter.h"
    00059
    00060 class vtkStructuredPoints;
    00061 class vtkDataArray;
    00062
    00063 class VTK_GRAPHICS_EXPORT vtkSubPixelPositionEdgels : public vtkPolyDataToPolyDataFilter
    00064 {
    00065 public:
    00066   static vtkSubPixelPositionEdgels *New();
    00067   vtkTypeRevisionMacro(vtkSubPixelPositionEdgels,vtkPolyDataToPolyDataFilter);
    00068   void PrintSelf(ostream& os, vtkIndent indent);
    00069
    00071
    00072   void SetGradMaps(vtkStructuredPoints *gm);
    00073   vtkStructuredPoints *GetGradMaps();
    00075
    00077
    00079   vtkSetMacro(TargetFlag, int);
    00080   vtkGetMacro(TargetFlag, int);
    00081   vtkBooleanMacro(TargetFlag, int);
    00082   vtkSetMacro(TargetValue, float);
    00083   vtkGetMacro(TargetValue, float);
    00085
    00086 protected:
    00087   vtkSubPixelPositionEdgels();
    00088   ~vtkSubPixelPositionEdgels();
    00089
    00090   // Usual data generation method
    00091   void Execute();
    00092   void Move(int xdim, int ydim, int zdim, int x, int y,
    00093             float *img, vtkDataArray *inVecs,
    00094             float *result, int z, float *aspect, float *resultNormal);
    00095   // extension for target instead of maximum
    00096   int TargetFlag;
    00097   float TargetValue;
    00098 private:
    00099   vtkSubPixelPositionEdgels(const vtkSubPixelPositionEdgels&);  // Not implemented.
    00100   void operator=(const vtkSubPixelPositionEdgels&);  // Not implemented.
    00101 };
    00102
    00103 #endif