VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkImageDataStreamer.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageDataStreamer.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
26 #ifndef __vtkImageDataStreamer_h
27 #define __vtkImageDataStreamer_h
28 
29 #include "vtkImagingCoreModule.h" // For export macro
30 #include "vtkImageAlgorithm.h"
31 
32 class vtkExtentTranslator;
33 
34 class VTKIMAGINGCORE_EXPORT vtkImageDataStreamer : public vtkImageAlgorithm
35 {
36 public:
37  static vtkImageDataStreamer *New();
38  vtkTypeMacro(vtkImageDataStreamer,vtkImageAlgorithm);
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
45  vtkSetMacro(NumberOfStreamDivisions,int);
46  vtkGetMacro(NumberOfStreamDivisions,int);
48 
49  virtual void Update() { this->Superclass::Update(); };
50  virtual void Update(int port) { this->vtkAlgorithm::Update(port);};
51 
52  virtual void UpdateWholeExtent() {
53  this->vtkAlgorithm::UpdateWholeExtent();};
54 
56 
57  virtual void SetExtentTranslator(vtkExtentTranslator*);
58  vtkGetObjectMacro(ExtentTranslator,vtkExtentTranslator);
60 
61  // See the vtkAlgorithm for a desciption of what these do
62  int ProcessRequest(vtkInformation*,
63  vtkInformationVector**,
64  vtkInformationVector*);
65 
66 protected:
69 
70  vtkExtentTranslator *ExtentTranslator;
73 private:
74  vtkImageDataStreamer(const vtkImageDataStreamer&); // Not implemented.
75  void operator=(const vtkImageDataStreamer&); // Not implemented.
76 };
77 
78 #endif
79 
80 
81 
virtual void Update(int port)
Initiates streaming on image data.
virtual void UpdateWholeExtent()
vtkExtentTranslator * ExtentTranslator