Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __vtkPVUpdateSuppressor_h
00024 #define __vtkPVUpdateSuppressor_h
00025
00026 #include "vtkDataObjectAlgorithm.h"
00027
00028 class VTK_EXPORT vtkPVUpdateSuppressor: public vtkDataObjectAlgorithm
00029 {
00030 public:
00031 vtkTypeRevisionMacro(vtkPVUpdateSuppressor,vtkDataObjectAlgorithm)
00032 ;
00033 void PrintSelf(ostream& os, vtkIndent indent);
00034
00035
00036
00037 static vtkPVUpdateSuppressor *New();
00038
00039
00040
00041 virtual void ForceUpdate();
00042
00043
00044
00045
00046
00047
00048 vtkSetMacro(UpdatePiece, int)
00049 ;
00050 vtkGetMacro(UpdatePiece, int)
00051 ;
00052 vtkSetMacro(UpdateNumberOfPieces, int)
00053 ;
00054 vtkGetMacro(UpdateNumberOfPieces, int)
00055 ;
00056
00057
00058
00059
00060 void SetEnabled(int);
00061 vtkGetMacro(Enabled, int)
00062 ;
00063
00064
00065
00066 void SetUpdateTime(double utime);
00067 vtkGetMacro(UpdateTime, double)
00068 ;
00069
00070 protected:
00071 vtkPVUpdateSuppressor();
00072 ~vtkPVUpdateSuppressor();
00073
00074 int RequestDataObject(vtkInformation* request,
00075 vtkInformationVector **inputVector,
00076 vtkInformationVector *outputVector);
00077 int RequestData(vtkInformation* request, vtkInformationVector **inputVector,
00078 vtkInformationVector *outputVector);
00079
00080 int UpdatePiece;
00081 int UpdateNumberOfPieces;
00082 double UpdateTime;
00083
00084 bool UpdateTimeInitialized;
00085
00086 int Enabled;
00087
00088 vtkTimeStamp PipelineUpdateTime;
00089
00090
00091 virtual vtkExecutive* CreateDefaultExecutive();
00092
00093 private:
00094 vtkPVUpdateSuppressor(const vtkPVUpdateSuppressor&);
00095 void operator=(const vtkPVUpdateSuppressor&);
00096 };
00097
00098 #endif