Commit de778b90 authored by Ken Martin's avatar Ken Martin
Browse files

added New methods to these classes

parent 2f61effa
......@@ -74,7 +74,7 @@ class VTK_EXPORT vtkActor : public vtkProp
public:
vtkActor();
~vtkActor();
vtkActor *New() {return new vtkActor;};
static vtkActor *New() {return new vtkActor;};
char *GetClassName() {return "vtkActor";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -56,7 +56,7 @@ class vtkActor;
class VTK_EXPORT vtkActorCollection : public vtkCollection
{
public:
vtkActorCollection *New() {return new vtkActorCollection;};
static vtkActorCollection *New() {return new vtkActorCollection;};
char *GetClassName() {return "vtkActorCollection";};
void AddItem(vtkActor *a);
......
......@@ -59,7 +59,7 @@ class VTK_EXPORT vtkAppendFilter : public vtkDataSetToUnstructuredGridFilter
{
public:
vtkAppendFilter();
vtkAppendFilter *New() {return new vtkAppendFilter;};
static vtkAppendFilter *New() {return new vtkAppendFilter;};
char *GetClassName() {return "vtkAppendFilter";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -60,7 +60,7 @@ class VTK_EXPORT vtkAppendPolyData : public vtkFilter
{
public:
vtkAppendPolyData();
vtkAppendPolyData *New() {return new vtkAppendPolyData;};
static vtkAppendPolyData *New() {return new vtkAppendPolyData;};
char *GetClassName() {return "vtkAppendPolyData";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -87,7 +87,7 @@ class VTK_EXPORT vtkAssembly : public vtkActor
public:
vtkAssembly();
~vtkAssembly();
vtkAssembly *New() {return new vtkAssembly;};
static vtkAssembly *New() {return new vtkAssembly;};
char *GetClassName() {return "vtkAssembly";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -57,7 +57,7 @@ class vtkActor;
class VTK_EXPORT vtkAssemblyPaths : public vtkCollection
{
public:
vtkAssemblyPaths *New() {return new vtkAssemblyPaths;};
static vtkAssemblyPaths *New() {return new vtkAssemblyPaths;};
char *GetClassName() {return "vtkAssemblyPaths";};
void AddItem(vtkActorCollection *a);
......
......@@ -55,7 +55,7 @@ class VTK_EXPORT vtkAxes : public vtkPolySource
{
public:
vtkAxes();
vtkAxes *New() {return new vtkAxes;};
static vtkAxes *New() {return new vtkAxes;};
char *GetClassName() {return "vtkAxes";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -56,7 +56,7 @@ class VTK_EXPORT vtkBYUReader : public vtkPolySource
public:
vtkBYUReader();
~vtkBYUReader();
vtkBYUReader *New() {return new vtkBYUReader;};
static vtkBYUReader *New() {return new vtkBYUReader;};
char *GetClassName() {return "vtkBYUReader";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -59,7 +59,7 @@ class VTK_EXPORT vtkBYUWriter : public vtkPolyWriter
public:
vtkBYUWriter();
~vtkBYUWriter();
vtkBYUWriter *New() {return new vtkBYUWriter;};
static vtkBYUWriter *New() {return new vtkBYUWriter;};
char *GetClassName() {return "vtkBYUWriter";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -64,7 +64,7 @@ class VTK_EXPORT vtkBooleanStructuredPoints : public vtkFilter
{
public:
vtkBooleanStructuredPoints();
vtkBooleanStructuredPoints *New() {return new vtkBooleanStructuredPoints;};
static vtkBooleanStructuredPoints *New() {return new vtkBooleanStructuredPoints;};
char *GetClassName() {return "vtkBooleanStructuredPoints";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -71,7 +71,7 @@ class VTK_EXPORT vtkBooleanTexture : public vtkStructuredPointsSource
{
public:
vtkBooleanTexture();
vtkBooleanTexture *New() {return new vtkBooleanTexture;};
static vtkBooleanTexture *New() {return new vtkBooleanTexture;};
char *GetClassName() {return "vtkBooleanTexture";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -53,7 +53,7 @@ class VTK_EXPORT vtkBrownianPoints : public vtkDataSetToDataSetFilter
{
public:
vtkBrownianPoints();
vtkBrownianPoints *New() {return new vtkBrownianPoints;};
static vtkBrownianPoints *New() {return new vtkBrownianPoints;};
char *GetClassName() {return "vtkBrownianPoints";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -65,7 +65,7 @@ class VTK_EXPORT vtkCamera : public vtkObject
vtkCamera();
~vtkCamera();
void PrintSelf(ostream& os, vtkIndent indent);
vtkCamera *New() {return new vtkCamera;};
static vtkCamera *New() {return new vtkCamera;};
char *GetClassName() {return "vtkCamera";};
// Description:
......
......@@ -76,7 +76,7 @@ class VTK_EXPORT vtkCastToConcrete : public vtkDataSetFilter
public:
vtkCastToConcrete();
~vtkCastToConcrete();
vtkCastToConcrete *New() {return new vtkCastToConcrete;};
static vtkCastToConcrete *New() {return new vtkCastToConcrete;};
char *GetClassName() {return "vtkCastToConcrete";};
// filter interface (special pass-thru)
......
......@@ -66,7 +66,7 @@ class VTK_EXPORT vtkCellLocator : public vtkLocator
{
public:
vtkCellLocator();
vtkCellLocator *New() {return new vtkCellLocator;};
static vtkCellLocator *New() {return new vtkCellLocator;};
char *GetClassName() {return "vtkCellLocator";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -57,7 +57,7 @@ class VTK_EXPORT vtkCellPicker : public vtkPicker
{
public:
vtkCellPicker();
vtkCellPicker *New() {return new vtkCellPicker;};
static vtkCellPicker *New() {return new vtkCellPicker;};
char *GetClassName() {return "vtkCellPicker";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -63,7 +63,7 @@ class VTK_EXPORT vtkCleanPolyData : public vtkPolyToPolyFilter
public:
vtkCleanPolyData();
~vtkCleanPolyData();
vtkCleanPolyData *New() {return new vtkCleanPolyData;};
static vtkCleanPolyData *New() {return new vtkCleanPolyData;};
char *GetClassName() {return "vtkCleanPolyData";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -79,7 +79,7 @@ class VTK_EXPORT vtkClipPolyData : public vtkPolyToPolyFilter
public:
vtkClipPolyData(vtkImplicitFunction *cf=NULL);
~vtkClipPolyData();
vtkClipPolyData *New() {return new vtkClipPolyData;};
static vtkClipPolyData *New() {return new vtkClipPolyData;};
char *GetClassName() {return "vtkClipPolyData";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -59,7 +59,7 @@ class VTK_EXPORT vtkCone : public vtkImplicitFunction
{
public:
vtkCone();
vtkCone *New() {return new vtkCone;};
static vtkCone *New() {return new vtkCone;};
char *GetClassName() {return "vtkCone";};
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -58,7 +58,7 @@ class VTK_EXPORT vtkConeSource : public vtkPolySource
{
public:
vtkConeSource(int res=6);
vtkConeSource *New() {return new vtkConeSource;};
static vtkConeSource *New() {return new vtkConeSource;};
char *GetClassName() {return "vtkConeSource";};
void PrintSelf(ostream& os, vtkIndent indent);
......
Markdown is supported
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