23 #ifndef vtkPythonRepresentation_h 24 #define vtkPythonRepresentation_h 28 #include "vtkPVClientServerCoreRenderingModule.h" 37 void PrintSelf(ostream& os, vtkIndent indent);
47 vtkInformationRequestKey* request_type, vtkInformation* inInfo, vtkInformation* outInfo);
54 vtkGetMacro(LocalInput, vtkDataObject*);
61 vtkGetMacro(ClientDataObject, vtkDataObject*);
68 int GetNumberOfAttributeArrays(
int attributeType);
74 const char* GetAttributeArrayName(
int attributeType,
int arrayIndex);
83 void SetAttributeArrayStatus(
int attributeType,
const char* name,
int status);
90 int GetAttributeArrayStatus(
int attributeType,
const char* name);
95 void EnableAllAttributeArrays();
100 void DisableAllAttributeArrays();
109 int FillInputPortInformation(
int port, vtkInformation* info);
114 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
123 vtkDataObject* LocalInput;
128 vtkDataObject* ClientDataObject;
134 class vtkPythonRepresentationInternal;
135 vtkPythonRepresentationInternal* Internal;
142 void InitializePreGatherHelper(
vtkReductionFilter* reductionFilter, vtkDataObject* input);
148 void InitializePostGatherHelper(
vtkReductionFilter* reductionFilter, vtkDataObject* input);
153 bool HasProcessRole(vtkTypeUInt32 role);
158 bool IsClientProcess();
163 bool IsDataServerProcess();
168 int SendDataTypeToClient(
int& dataType);
173 void TransferLocalDataToClient();
176 #endif // vtkPythonRepresentation_h void PrintSelf(ostream &os, vtkIndent indent)
vtkPVDataRepresentation adds some ParaView specific API to data representations.
Representation for showing data in a vtkPythonView.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Overridden to invoke vtkCommand::UpdateDataEvent.
A generic filter that can reduce any type of dataset using any reduction algorithm.