00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00025 #ifndef __vtkSMInputProperty_h
00026 #define __vtkSMInputProperty_h
00027
00028 #include "vtkSMProxyProperty.h"
00029
00030 class VTK_EXPORT vtkSMInputProperty : public vtkSMProxyProperty
00031 {
00032 public:
00033 static vtkSMInputProperty* New();
00034 vtkTypeRevisionMacro(vtkSMInputProperty, vtkSMProxyProperty);
00035 void PrintSelf(ostream& os, vtkIndent indent);
00036
00038
00040 vtkSetMacro(MultipleInput, int);
00041 vtkGetMacro(MultipleInput, int);
00043
00045
00048 static int GetInputsUpdateImmediately();
00049 static void SetInputsUpdateImmediately(int up);
00051
00052 protected:
00053 vtkSMInputProperty();
00054 ~vtkSMInputProperty();
00055
00056
00058
00062 virtual void AppendCommandToStream(
00063 vtkSMProxy*, vtkClientServerStream* stream, vtkClientServerID objectId );
00064
00066
00068
00070 virtual int ReadXMLAttributes(vtkSMProxy* parent,
00071 vtkPVXMLElement* element);
00073
00074 int MultipleInput;
00075 int PortIndex;
00076
00077 static int InputsUpdateImmediately;
00078
00079 private:
00080 vtkSMInputProperty(const vtkSMInputProperty&);
00081 void operator=(const vtkSMInputProperty&);
00082 };
00083
00084 #endif