Commit 001303b0 authored by Berk Geveci's avatar Berk Geveci

ENH: Made NewDataObject static and public so other classes can use it

parent 6c318cc5
......@@ -120,6 +120,10 @@ public:
// generate certain outputs for a REQUEST_DATA.
static vtkInformationIntegerKey* DATA_NOT_GENERATED();
// Description:
// Create (New) and return a data object of the given type.
static vtkDataObject* NewDataObject(const char* type);
......@@ -158,8 +162,6 @@ protected:
int InputIsOptional(int port);
int InputIsRepeatable(int port);
vtkDataObject* NewDataObject(const char* type);
// Decide whether the output data need to be generated.
virtual int NeedToExecuteData(int outputPort);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment