VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPExtractHistogram2D.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 /*------------------------------------------------------------------------- 00016 Copyright 2009 Sandia Corporation. 00017 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00018 the U.S. Government retains certain rights in this software. 00019 -------------------------------------------------------------------------*/ 00038 #ifndef __vtkPExtractHistogram2D_h 00039 #define __vtkPExtractHistogram2D_h 00040 00041 #include "vtkFiltersParallelImagingModule.h" // For export macro 00042 #include "vtkExtractHistogram2D.h" 00043 00044 class vtkMultiBlockDataSet; 00045 class vtkMultiProcessController; 00046 00047 class VTKFILTERSPARALLELIMAGING_EXPORT vtkPExtractHistogram2D : public vtkExtractHistogram2D 00048 { 00049 public: 00050 static vtkPExtractHistogram2D* New(); 00051 vtkTypeMacro(vtkPExtractHistogram2D, vtkExtractHistogram2D); 00052 void PrintSelf(ostream& os, vtkIndent indent); 00053 00054 virtual void SetController(vtkMultiProcessController*); 00055 vtkGetObjectMacro(Controller,vtkMultiProcessController); 00056 00057 protected: 00058 vtkPExtractHistogram2D(); 00059 ~vtkPExtractHistogram2D(); 00060 00061 vtkMultiProcessController* Controller; 00062 00063 virtual int ComputeBinExtents(vtkDataArray* col1, vtkDataArray* col2); 00064 00065 // Execute the calculations required by the Learn option. 00066 virtual void Learn( vtkTable* inData, 00067 vtkTable* inParameters, 00068 vtkMultiBlockDataSet* outMeta ); 00069 00070 private: 00071 vtkPExtractHistogram2D(const vtkPExtractHistogram2D&); // Not implemented 00072 void operator=(const vtkPExtractHistogram2D&); // Not implemented 00073 }; 00074 00075 #endif