text: /* this file has been autogenerated by vtkNodeJsWrap */
  /* editing this might proof futile */
  
  #define VTK_WRAPPING_CXX
  #define VTK_STREAMS_FWD_ONLY
  #include <nan.h>
  
  #include "vtkAlgorithmWrap.h"
  #include "vtkDataSetAlgorithmWrap.h"
  #include "vtkObjectWrap.h"
  #include "vtkDataSetWrap.h"
  #include "vtkDataObjectWrap.h"
  #include "vtkPolyDataWrap.h"
  #include "vtkStructuredPointsWrap.h"
  #include "vtkImageDataWrap.h"
  #include "vtkStructuredGridWrap.h"
  #include "vtkUnstructuredGridWrap.h"
  #include "vtkRectilinearGridWrap.h"
  #include "../../plus/plus.h"
  
  using namespace v8;
  
  extern Nan::Persistent<v8::Object> vtkNodeJsNoWrap;
  Nan::Persistent<v8::FunctionTemplate> VtkDataSetAlgorithmWrap::ptpl;
  
  VtkDataSetAlgorithmWrap::VtkDataSetAlgorithmWrap()
  { }
  
  VtkDataSetAlgorithmWrap::VtkDataSetAlgorithmWrap(vtkSmartPointer<vtkDataSetAlgorithm> _native)
  { native = _native; }
  
  VtkDataSetAlgorithmWrap::~VtkDataSetAlgorithmWrap()
  { }
  
  void VtkDataSetAlgorithmWrap::Init(v8::Local<v8::Object> exports)
  {
  	Nan::SetAccessor(exports, Nan::New("vtkDataSetAlgorithm").ToLocalChecked(), ConstructorGetter);
  	Nan::SetAccessor(exports, Nan::New("DataSetAlgorithm").ToLocalChecked(), ConstructorGetter);
  }
  
  void VtkDataSetAlgorithmWrap::ConstructorGetter(
  	v8::Local<v8::String> property,
  	const Nan::PropertyCallbackInfo<v8::Value>& info)
  {
  	InitPtpl();
  	info.GetReturnValue().Set(Nan::New(ptpl)->GetFunction());
  }
  
  void VtkDataSetAlgorithmWrap::InitPtpl()
  {
  	if (!ptpl.IsEmpty()) return;
  	v8::Local<v8::FunctionTemplate> tpl = Nan::New<v8::FunctionTemplate>(New);
  	VtkAlgorithmWrap::InitPtpl( );
  	tpl->Inherit(Nan::New<FunctionTemplate>(VtkAlgorithmWrap::ptpl));
  	tpl->SetClassName(Nan::New("VtkDataSetAlgorithmWrap").ToLocalChecked());
  	tpl->InstanceTemplate()->SetInternalFieldCount(1);
  
  	Nan::SetPrototypeMethod(tpl, "AddInputData", AddInputData);
  	Nan::SetPrototypeMethod(tpl, "addInputData", AddInputData);
  
  	Nan::SetPrototypeMethod(tpl, "GetClassName", GetClassName);
  	Nan::SetPrototypeMethod(tpl, "getClassName", GetClassName);
  
  	Nan::SetPrototypeMethod(tpl, "GetImageDataOutput", GetImageDataOutput);
  	Nan::SetPrototypeMethod(tpl, "getImageDataOutput", GetImageDataOutput);
  
  	Nan::SetPrototypeMethod(tpl, "GetInput", GetInput);
  	Nan::SetPrototypeMethod(tpl, "getInput", GetInput);
  
  	Nan::SetPrototypeMethod(tpl, "GetOutput", GetOutput);
  	Nan::SetPrototypeMethod(tpl, "getOutput", GetOutput);
  
  	Nan::SetPrototypeMethod(tpl, "GetPolyDataOutput", GetPolyDataOutput);
  	Nan::SetPrototypeMethod(tpl, "getPolyDataOutput", GetPolyDataOutput);
  
  	Nan::SetPrototypeMethod(tpl, "GetRectilinearGridOutput", GetRectilinearGridOutput);
  	Nan::SetPrototypeMethod(tpl, "getRectilinearGridOutput", GetRectilinearGridOutput);
  
  	Nan::SetPrototypeMethod(tpl, "GetStructuredGridOutput", GetStructuredGridOutput);
  	Nan::SetPrototypeMethod(tpl, "getStructuredGridOutput", GetStructuredGridOutput);
  
  	Nan::SetPrototypeMethod(tpl, "GetStructuredPointsOutput", GetStructuredPointsOutput);
  	Nan::SetPrototypeMethod(tpl, "getStructuredPointsOutput", GetStructuredPointsOutput);
  
  	Nan::SetPrototypeMethod(tpl, "GetUnstructuredGridOutput", GetUnstructuredGridOutput);
  	Nan::SetPrototypeMethod(tpl, "getUnstructuredGridOutput", GetUnstructuredGridOutput);
  
  	Nan::SetPrototypeMethod(tpl, "IsA", IsA);
  	Nan::SetPrototypeMethod(tpl, "isA", IsA);
  
  	Nan::SetPrototypeMethod(tpl, "NewInstance", NewInstance);
  	Nan::SetPrototypeMethod(tpl, "newInstance", NewInstance);
  
  	Nan::SetPrototypeMethod(tpl, "SafeDownCast", SafeDownCast);
  	Nan::SetPrototypeMethod(tpl, "safeDownCast", SafeDownCast);
  
  	Nan::SetPrototypeMethod(tpl, "SetInputData", SetInputData);
  	Nan::SetPrototypeMethod(tpl, "setInputData", SetInputData);
  
  #ifdef VTK_NODE_PLUS_VTKDATASETALGORITHMWRAP_INITPTPL
  	VTK_NODE_PLUS_VTKDATASETALGORITHMWRAP_INITPTPL
  #endif
  	ptpl.Reset( tpl );
  }
  
  void VtkDataSetAlgorithmWrap::New(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	if(!info.IsConstructCall())
  	{
  		Nan::ThrowError("Constructor not called in a construct call.");
  		return;
  	}
  
  	if(info.Length() == 0)
  	{
  		vtkSmartPointer<vtkDataSetAlgorithm> native = vtkSmartPointer<vtkDataSetAlgorithm>::New();
  		VtkDataSetAlgorithmWrap* obj = new VtkDataSetAlgorithmWrap(native);
  		obj->Wrap(info.This());
  	}
  	else
  	{
  		if(info[0]->ToObject() != vtkNodeJsNoWrap )
  		{
  			Nan::ThrowError("Parameter Error");
  			return;
  		}
  	}
  
  	info.GetReturnValue().Set(info.This());
  }
  
  void VtkDataSetAlgorithmWrap::AddInputData(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkDataSetWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkDataSetWrap *a0 = ObjectWrap::Unwrap<VtkDataSetWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->AddInputData(
  			(vtkDataSet *) a0->native.GetPointer()
  		);
  		return;
  	}
  	else if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkDataObjectWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkDataObjectWrap *a0 = ObjectWrap::Unwrap<VtkDataObjectWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->AddInputData(
  			(vtkDataObject *) a0->native.GetPointer()
  		);
  		return;
  	}
  	else if(info.Length() > 0 && info[0]->IsInt32())
  	{
  		if(info.Length() > 1 && info[1]->IsObject() && (Nan::New(VtkDataObjectWrap::ptpl))->HasInstance(info[1]))
  		{
  			VtkDataObjectWrap *a1 = ObjectWrap::Unwrap<VtkDataObjectWrap>(info[1]->ToObject());
  						if(info.Length() != 2)
  			{
  				Nan::ThrowError("Too many parameters.");
  				return;
  			}
  			native->AddInputData(
  				info[0]->Int32Value(),
  				(vtkDataObject *) a1->native.GetPointer()
  			);
  			return;
  		}
  		else if(info.Length() > 1 && info[1]->IsObject() && (Nan::New(VtkDataSetWrap::ptpl))->HasInstance(info[1]))
  		{
  			VtkDataSetWrap *a1 = ObjectWrap::Unwrap<VtkDataSetWrap>(info[1]->ToObject());
  						if(info.Length() != 2)
  			{
  				Nan::ThrowError("Too many parameters.");
  				return;
  			}
  			native->AddInputData(
  				info[0]->Int32Value(),
  				(vtkDataSet *) a1->native.GetPointer()
  			);
  			return;
  		}
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkDataSetAlgorithmWrap::GetClassName(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	char const * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetClassName();
  	info.GetReturnValue().Set(Nan::New(r).ToLocalChecked());
  }
  
  void VtkDataSetAlgorithmWrap::GetImageDataOutput(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	vtkImageData * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetImageDataOutput();
  	VtkImageDataWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkImageDataWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkImageDataWrap *w = new VtkImageDataWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkDataSetAlgorithmWrap::GetInput(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	vtkDataObject * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetInput();
  	VtkDataObjectWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkDataObjectWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkDataObjectWrap *w = new VtkDataObjectWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkDataSetAlgorithmWrap::GetOutput(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsInt32())
  	{
  		vtkDataSet * r;
  		if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		r = native->GetOutput(
  			info[0]->Int32Value()
  		);
  		VtkDataSetWrap::InitPtpl();
  		v8::Local<v8::Value> argv[1] =
  			{ Nan::New(vtkNodeJsNoWrap) };
  		v8::Local<v8::Function> cons =
  			Nan::New<v8::FunctionTemplate>(VtkDataSetWrap::ptpl)->GetFunction();
  		v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  		VtkDataSetWrap *w = new VtkDataSetWrap();
  		w->native = r;
  		w->Wrap(wo);
  		info.GetReturnValue().Set(wo);
  		return;
  	}
  	vtkDataSet * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetOutput();
  	VtkDataSetWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkDataSetWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkDataSetWrap *w = new VtkDataSetWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkDataSetAlgorithmWrap::GetPolyDataOutput(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	vtkPolyData * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetPolyDataOutput();
  	VtkPolyDataWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkPolyDataWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkPolyDataWrap *w = new VtkPolyDataWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkDataSetAlgorithmWrap::GetRectilinearGridOutput(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	vtkRectilinearGrid * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetRectilinearGridOutput();
  	VtkRectilinearGridWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkRectilinearGridWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkRectilinearGridWrap *w = new VtkRectilinearGridWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkDataSetAlgorithmWrap::GetStructuredGridOutput(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	vtkStructuredGrid * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetStructuredGridOutput();
  	VtkStructuredGridWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkStructuredGridWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkStructuredGridWrap *w = new VtkStructuredGridWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkDataSetAlgorithmWrap::GetStructuredPointsOutput(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	vtkStructuredPoints * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetStructuredPointsOutput();
  	VtkStructuredPointsWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkStructuredPointsWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkStructuredPointsWrap *w = new VtkStructuredPointsWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkDataSetAlgorithmWrap::GetUnstructuredGridOutput(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	vtkUnstructuredGrid * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetUnstructuredGridOutput();
  	VtkUnstructuredGridWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkUnstructuredGridWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkUnstructuredGridWrap *w = new VtkUnstructuredGridWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkDataSetAlgorithmWrap::IsA(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsString())
  	{
  		Nan::Utf8String a0(info[0]);
  		int r;
  		if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		r = native->IsA(
  			*a0
  		);
  		info.GetReturnValue().Set(Nan::New(r));
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkDataSetAlgorithmWrap::NewInstance(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	vtkDataSetAlgorithm * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->NewInstance();
  	VtkDataSetAlgorithmWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkDataSetAlgorithmWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkDataSetAlgorithmWrap *w = new VtkDataSetAlgorithmWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkDataSetAlgorithmWrap::SafeDownCast(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkObjectWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkObjectWrap *a0 = ObjectWrap::Unwrap<VtkObjectWrap>(info[0]->ToObject());
  		vtkDataSetAlgorithm * r;
  		if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		r = native->SafeDownCast(
  			(vtkObject *) a0->native.GetPointer()
  		);
  		VtkDataSetAlgorithmWrap::InitPtpl();
  		v8::Local<v8::Value> argv[1] =
  			{ Nan::New(vtkNodeJsNoWrap) };
  		v8::Local<v8::Function> cons =
  			Nan::New<v8::FunctionTemplate>(VtkDataSetAlgorithmWrap::ptpl)->GetFunction();
  		v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  		VtkDataSetAlgorithmWrap *w = new VtkDataSetAlgorithmWrap();
  		w->native = r;
  		w->Wrap(wo);
  		info.GetReturnValue().Set(wo);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkDataSetAlgorithmWrap::SetInputData(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkDataSetAlgorithmWrap *wrapper = ObjectWrap::Unwrap<VtkDataSetAlgorithmWrap>(info.Holder());
  	vtkDataSetAlgorithm *native = (vtkDataSetAlgorithm *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkDataSetWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkDataSetWrap *a0 = ObjectWrap::Unwrap<VtkDataSetWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetInputData(
  			(vtkDataSet *) a0->native.GetPointer()
  		);
  		return;
  	}
  	else if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkDataObjectWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkDataObjectWrap *a0 = ObjectWrap::Unwrap<VtkDataObjectWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetInputData(
  			(vtkDataObject *) a0->native.GetPointer()
  		);
  		return;
  	}
  	else if(info.Length() > 0 && info[0]->IsInt32())
  	{
  		if(info.Length() > 1 && info[1]->IsObject() && (Nan::New(VtkDataSetWrap::ptpl))->HasInstance(info[1]))
  		{
  			VtkDataSetWrap *a1 = ObjectWrap::Unwrap<VtkDataSetWrap>(info[1]->ToObject());
  						if(info.Length() != 2)
  			{
  				Nan::ThrowError("Too many parameters.");
  				return;
  			}
  			native->SetInputData(
  				info[0]->Int32Value(),
  				(vtkDataSet *) a1->native.GetPointer()
  			);
  			return;
  		}
  		else if(info.Length() > 1 && info[1]->IsObject() && (Nan::New(VtkDataObjectWrap::ptpl))->HasInstance(info[1]))
  		{
  			VtkDataObjectWrap *a1 = ObjectWrap::Unwrap<VtkDataObjectWrap>(info[1]->ToObject());
  						if(info.Length() != 2)
  			{
  				Nan::ThrowError("Too many parameters.");
  				return;
  			}
  			native->SetInputData(
  				info[0]->Int32Value(),
  				(vtkDataObject *) a1->native.GetPointer()
  			);
  			return;
  		}
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  