Commit a3ccf2d6 authored by Brad King's avatar Brad King
Browse files

COMP: Need to BTX/ETX new GetData methods because Java does not support these...

COMP: Need to BTX/ETX new GetData methods because Java does not support these covariant-like return types.
parent 265af486
......@@ -74,10 +74,12 @@ public:
static vtkInformationIntegerKey* INDEX();
static vtkInformationDataObjectKey* COMPOSITE_DATA_SET();
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkCompositeDataSet* GetData(vtkInformation* info);
static vtkCompositeDataSet* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
vtkCompositeDataSet();
......
......@@ -461,10 +461,12 @@ public:
static vtkInformationDoubleVectorKey* ORIGIN();
static vtkInformationDoubleVectorKey* SPACING();
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkDataObject* GetData(vtkInformation* info);
static vtkDataObject* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
......
......@@ -317,10 +317,12 @@ public:
// computes the ghost arrays for a given dataset.
virtual void GenerateGhostLevelArray();
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkDataSet* GetData(vtkInformation* info);
static vtkDataSet* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
// Constructor with default bounds (0,1, 0,1, 0,1).
......
......@@ -218,10 +218,12 @@ public:
// Estimated size needed after tessellation (or special operation)
virtual vtkIdType GetEstimatedSize() = 0;
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkGenericDataSet* GetData(vtkInformation* info);
static vtkGenericDataSet* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
// Description:
......
......@@ -82,10 +82,12 @@ public:
static vtkInformationIntegerKey* LEVEL();
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkHierarchicalDataSet* GetData(vtkInformation* info);
static vtkHierarchicalDataSet* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
vtkHierarchicalDataSet();
......
......@@ -470,10 +470,12 @@ public:
// IS THREAD SAFE.
unsigned long GetActualMemorySize();
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkHyperOctree* GetData(vtkInformation* info);
static vtkHyperOctree* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
// Constructor with default bounds (0,1, 0,1, 0,1).
......
......@@ -341,10 +341,12 @@ public:
// The extent type is a 3D extent
virtual int GetExtentType() { return VTK_3D_EXTENT; };
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkImageData* GetData(vtkInformation* info);
static vtkImageData* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
vtkImageData();
......
......@@ -161,10 +161,12 @@ public:
static vtkInformationIntegerKey* GROUP();
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkMultiGroupDataSet* GetData(vtkInformation* info);
static vtkMultiGroupDataSet* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
vtkMultiGroupDataSet();
......
......@@ -150,10 +150,12 @@ public:
// in turn simply calls RemoveAllPoints()
void Initialize();
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkPiecewiseFunction* GetData(vtkInformation* info);
static vtkPiecewiseFunction* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
vtkPiecewiseFunction();
......
......@@ -90,10 +90,12 @@ public:
void ShallowCopy(vtkDataObject *src);
void DeepCopy(vtkDataObject *src);
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkPointSet* GetData(vtkInformation* info);
static vtkPointSet* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
vtkPointSet();
......
......@@ -389,10 +389,12 @@ public:
// greater or equal to level. It does not remove unused points (yet).
void RemoveGhostCells(int level);
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkPolyData* GetData(vtkInformation* info);
static vtkPolyData* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
vtkPolyData();
......
......@@ -169,10 +169,12 @@ public:
// and the source generated more than the update extent.
virtual void Crop();
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkRectilinearGrid* GetData(vtkInformation* info);
static vtkRectilinearGrid* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
vtkRectilinearGrid();
......
......@@ -194,10 +194,12 @@ public:
// and the source generated more than the update extent.
virtual void Crop();
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkStructuredGrid* GetData(vtkInformation* info);
static vtkStructuredGrid* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
vtkStructuredGrid();
......
......@@ -133,10 +133,12 @@ public:
virtual vtkImageData* NewImageDataCopy();
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkUniformGrid* GetData(vtkInformation* info);
static vtkUniformGrid* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
vtkUniformGrid();
......
......@@ -166,10 +166,12 @@ public:
// greater or equal to level.
void RemoveGhostCells(int level);
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkUnstructuredGrid* GetData(vtkInformation* info);
static vtkUnstructuredGrid* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
vtkUnstructuredGrid();
......
......@@ -134,10 +134,12 @@ public:
// This propagation may early terminate based on the PipelineMTime.
void TriggerAsynchronousUpdate();
//BTX
// Description:
// Retrieve an instance of this class from an information object.
static vtkImageStencilData* GetData(vtkInformation* info);
static vtkImageStencilData* GetData(vtkInformationVector* v, int i=0);
//ETX
protected:
vtkImageStencilData();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment