VTK
vtkCachedStreamingDemandDrivenPipeline.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCachedStreamingDemandDrivenPipeline.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 =========================================================================*/
20 #ifndef __vtkCachedStreamingDemandDrivenPipeline_h
21 #define __vtkCachedStreamingDemandDrivenPipeline_h
22 
24 
27 class vtkCachedStreamingDemandDrivenPipelineInternals;
28 
31 {
32 public:
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
40  virtual int Update();
41  virtual int Update(int port);
43 
45 
47  void SetCacheSize(int size);
48  vtkGetMacro(CacheSize, int);
50 
51 protected:
54 
55  virtual int NeedToExecuteData(int outputPort,
56  vtkInformationVector** inInfoVec,
57  vtkInformationVector* outInfoVec);
58  virtual int ExecuteData(vtkInformation* request,
59  vtkInformationVector** inInfoVec,
60  vtkInformationVector* outInfoVec);
61 
62  int CacheSize;
63 
65  unsigned long *Times;
66 
67 private:
68  vtkCachedStreamingDemandDrivenPipelineInternals* CachedStreamingDemandDrivenInternal;
69 private:
71  void operator=(const vtkCachedStreamingDemandDrivenPipeline&); // Not implemented.
72 };
73 
74 #endif