Imaging/vtkImageMapToWindowLevelColors.h Source File

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

# Imaging/vtkImageMapToWindowLevelColors.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkImageMapToWindowLevelColors.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 =========================================================================*/
    00048 #ifndef __vtkImageMapToWindowLevelColors_h
    00049 #define __vtkImageMapToWindowLevelColors_h
    00050
    00051
    00052 #include "vtkImageMapToColors.h"
    00053
    00054 class VTK_IMAGING_EXPORT vtkImageMapToWindowLevelColors : public vtkImageMapToColors
    00055 {
    00056 public:
    00057   static vtkImageMapToWindowLevelColors *New();
    00058   vtkTypeRevisionMacro(vtkImageMapToWindowLevelColors,vtkImageMapToColors);
    00059   void PrintSelf(ostream& os, vtkIndent indent);
    00060
    00062
    00065   vtkSetMacro( Window, float );
    00066   vtkGetMacro( Window, float );
    00068
    00070
    00073   vtkSetMacro( Level, float );
    00074   vtkGetMacro( Level, float );
    00076
    00077 protected:
    00078   vtkImageMapToWindowLevelColors();
    00079   ~vtkImageMapToWindowLevelColors();
    00080
    00081   void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
    00082   void ExecuteInformation(){this->vtkImageMapToColors::ExecuteInformation();};
    00083   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
    00084                        int extent[6], int id);
    00085   void ExecuteData(vtkDataObject *output);
    00086
    00087   float Window;
    00088   float Level;
    00089
    00090 private:
    00091   vtkImageMapToWindowLevelColors(const vtkImageMapToWindowLevelColors&);  // Not implemented.
    00092   void operator=(const vtkImageMapToWindowLevelColors&);  // Not implemented.
    00093 };
    00094
    00095 #endif
    00096
    00097
    00098
    00099
    00100
    00101
    00102