Imaging/vtkImplicitFunctionToImageStencil.h Source File

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

# Imaging/vtkImplicitFunctionToImageStencil.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkImplicitFunctionToImageStencil.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 =========================================================================*/
    00044 #ifndef __vtkImplicitFunctionToImageStencil_h
    00045 #define __vtkImplicitFunctionToImageStencil_h
    00046
    00047
    00048 #include "vtkImageStencilSource.h"
    00049
    00050 class vtkImplicitFunction;
    00051
    00052 class VTK_IMAGING_EXPORT vtkImplicitFunctionToImageStencil : public vtkImageStencilSource
    00053 {
    00054 public:
    00055   static vtkImplicitFunctionToImageStencil *New();
    00056   vtkTypeRevisionMacro(vtkImplicitFunctionToImageStencil, vtkImageStencilSource);
    00057   void PrintSelf(ostream& os, vtkIndent indent);
    00058
    00060
    00061   virtual void SetInput(vtkImplicitFunction*);
    00062   vtkGetObjectMacro(Input, vtkImplicitFunction);
    00064
    00066
    00067   vtkSetMacro(Threshold, float);
    00068   vtkGetMacro(Threshold, float);
    00070
    00071 protected:
    00072   vtkImplicitFunctionToImageStencil();
    00073   ~vtkImplicitFunctionToImageStencil();
    00074
    00075   void ThreadedExecute(vtkImageStencilData *output,
    00076                        int extent[6], int threadId);
    00077
    00078   vtkImplicitFunction *Input;
    00079   float Threshold;
    00080 private:
    00081   vtkImplicitFunctionToImageStencil(const vtkImplicitFunctionToImageStencil&);  // Not implemented.
    00082   void operator=(const vtkImplicitFunctionToImageStencil&);  // Not implemented.
    00083 };
    00084
    00085 #endif
    00086