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

# Graphics/vtkExtractRectilinearGrid.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkExtractRectilinearGrid.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 =========================================================================*/
    00045 #ifndef __vtkExtractRectilinearGrid_h
    00046 #define __vtkExtractRectilinearGrid_h
    00047
    00048 #include "vtkRectilinearGridSource.h"
    00049
    00050 class VTK_GRAPHICS_EXPORT vtkExtractRectilinearGrid : public vtkRectilinearGridSource
    00051 {
    00052 public:
    00053   static vtkExtractRectilinearGrid *New();
    00054   vtkTypeRevisionMacro(vtkExtractRectilinearGrid,vtkRectilinearGridSource);
    00055   void PrintSelf(ostream& os, vtkIndent indent);
    00056
    00058
    00059   void SetInput(vtkRectilinearGrid *input);
    00060   vtkRectilinearGrid *GetInput();
    00062
    00064
    00067   vtkSetVector6Macro(VOI,int);
    00068   vtkGetVectorMacro(VOI,int,6);
    00070
    00072
    00076   vtkSetVector3Macro(SampleRate, int);
    00077   vtkGetVectorMacro(SampleRate, int, 3);
    00079
    00081
    00087   vtkSetMacro(IncludeBoundary,int);
    00088   vtkGetMacro(IncludeBoundary,int);
    00089   vtkBooleanMacro(IncludeBoundary,int);
    00091
    00092 protected:
    00093   vtkExtractRectilinearGrid();
    00094   ~vtkExtractRectilinearGrid() {};
    00095
    00096   void Execute();
    00097   void ExecuteInformation();
    00098   void ComputeInputUpdateExtents(vtkDataObject *out);
    00099
    00100   int VOI[6];
    00101   int SampleRate[3];
    00102   int IncludeBoundary;
    00103
    00104 private:
    00105   vtkExtractRectilinearGrid(const vtkExtractRectilinearGrid&);  // Not implemented.
    00106   void operator=(const vtkExtractRectilinearGrid&);  // Not implemented.
    00107 };
    00108
    00109 #endif
    00110
    00111