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 "vtkDataSetAlgorithmWrap.h"
  #include "vtkImplicitTextureCoordsWrap.h"
  #include "vtkObjectBaseWrap.h"
  #include "vtkImplicitFunctionWrap.h"
  #include "../../plus/plus.h"
  
  using namespace v8;
  
  extern Nan::Persistent<v8::Object> vtkNodeJsNoWrap;
  Nan::Persistent<v8::FunctionTemplate> VtkImplicitTextureCoordsWrap::ptpl;
  
  VtkImplicitTextureCoordsWrap::VtkImplicitTextureCoordsWrap()
  { }
  
  VtkImplicitTextureCoordsWrap::VtkImplicitTextureCoordsWrap(vtkSmartPointer<vtkImplicitTextureCoords> _native)
  { native = _native; }
  
  VtkImplicitTextureCoordsWrap::~VtkImplicitTextureCoordsWrap()
  { }
  
  void VtkImplicitTextureCoordsWrap::Init(v8::Local<v8::Object> exports)
  {
  	Nan::SetAccessor(exports, Nan::New("vtkImplicitTextureCoords").ToLocalChecked(), ConstructorGetter);
  	Nan::SetAccessor(exports, Nan::New("ImplicitTextureCoords").ToLocalChecked(), ConstructorGetter);
  }
  
  void VtkImplicitTextureCoordsWrap::ConstructorGetter(
  	v8::Local<v8::String> property,
  	const Nan::PropertyCallbackInfo<v8::Value>& info)
  {
  	InitPtpl();
  	info.GetReturnValue().Set(Nan::New(ptpl)->GetFunction());
  }
  
  void VtkImplicitTextureCoordsWrap::InitPtpl()
  {
  	if (!ptpl.IsEmpty()) return;
  	v8::Local<v8::FunctionTemplate> tpl = Nan::New<v8::FunctionTemplate>(New);
  	VtkDataSetAlgorithmWrap::InitPtpl( );
  	tpl->Inherit(Nan::New<FunctionTemplate>(VtkDataSetAlgorithmWrap::ptpl));
  	tpl->SetClassName(Nan::New("VtkImplicitTextureCoordsWrap").ToLocalChecked());
  	tpl->InstanceTemplate()->SetInternalFieldCount(1);
  
  	Nan::SetPrototypeMethod(tpl, "FlipTextureOff", FlipTextureOff);
  	Nan::SetPrototypeMethod(tpl, "flipTextureOff", FlipTextureOff);
  
  	Nan::SetPrototypeMethod(tpl, "FlipTextureOn", FlipTextureOn);
  	Nan::SetPrototypeMethod(tpl, "flipTextureOn", FlipTextureOn);
  
  	Nan::SetPrototypeMethod(tpl, "GetFlipTexture", GetFlipTexture);
  	Nan::SetPrototypeMethod(tpl, "getFlipTexture", GetFlipTexture);
  
  	Nan::SetPrototypeMethod(tpl, "GetRFunction", GetRFunction);
  	Nan::SetPrototypeMethod(tpl, "getRFunction", GetRFunction);
  
  	Nan::SetPrototypeMethod(tpl, "GetSFunction", GetSFunction);
  	Nan::SetPrototypeMethod(tpl, "getSFunction", GetSFunction);
  
  	Nan::SetPrototypeMethod(tpl, "GetTFunction", GetTFunction);
  	Nan::SetPrototypeMethod(tpl, "getTFunction", GetTFunction);
  
  	Nan::SetPrototypeMethod(tpl, "NewInstance", NewInstance);
  	Nan::SetPrototypeMethod(tpl, "newInstance", NewInstance);
  
  	Nan::SetPrototypeMethod(tpl, "SafeDownCast", SafeDownCast);
  	Nan::SetPrototypeMethod(tpl, "safeDownCast", SafeDownCast);
  
  	Nan::SetPrototypeMethod(tpl, "SetFlipTexture", SetFlipTexture);
  	Nan::SetPrototypeMethod(tpl, "setFlipTexture", SetFlipTexture);
  
  	Nan::SetPrototypeMethod(tpl, "SetRFunction", SetRFunction);
  	Nan::SetPrototypeMethod(tpl, "setRFunction", SetRFunction);
  
  	Nan::SetPrototypeMethod(tpl, "SetSFunction", SetSFunction);
  	Nan::SetPrototypeMethod(tpl, "setSFunction", SetSFunction);
  
  	Nan::SetPrototypeMethod(tpl, "SetTFunction", SetTFunction);
  	Nan::SetPrototypeMethod(tpl, "setTFunction", SetTFunction);
  
  #ifdef VTK_NODE_PLUS_VTKIMPLICITTEXTURECOORDSWRAP_INITPTPL
  	VTK_NODE_PLUS_VTKIMPLICITTEXTURECOORDSWRAP_INITPTPL
  #endif
  	ptpl.Reset( tpl );
  }
  
  void VtkImplicitTextureCoordsWrap::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<vtkImplicitTextureCoords> native = vtkSmartPointer<vtkImplicitTextureCoords>::New();
  		VtkImplicitTextureCoordsWrap* obj = new VtkImplicitTextureCoordsWrap(native);
  		obj->Wrap(info.This());
  	}
  	else
  	{
  		if(info[0]->ToObject() != vtkNodeJsNoWrap )
  		{
  			Nan::ThrowError("Parameter Error");
  			return;
  		}
  	}
  
  	info.GetReturnValue().Set(info.This());
  }
  
  void VtkImplicitTextureCoordsWrap::FlipTextureOff(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkImplicitTextureCoordsWrap *wrapper = ObjectWrap::Unwrap<VtkImplicitTextureCoordsWrap>(info.Holder());
  	vtkImplicitTextureCoords *native = (vtkImplicitTextureCoords *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->FlipTextureOff();
  }
  
  void VtkImplicitTextureCoordsWrap::FlipTextureOn(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkImplicitTextureCoordsWrap *wrapper = ObjectWrap::Unwrap<VtkImplicitTextureCoordsWrap>(info.Holder());
  	vtkImplicitTextureCoords *native = (vtkImplicitTextureCoords *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->FlipTextureOn();
  }
  
  void VtkImplicitTextureCoordsWrap::GetFlipTexture(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkImplicitTextureCoordsWrap *wrapper = ObjectWrap::Unwrap<VtkImplicitTextureCoordsWrap>(info.Holder());
  	vtkImplicitTextureCoords *native = (vtkImplicitTextureCoords *)wrapper->native.GetPointer();
  	int r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetFlipTexture();
  	info.GetReturnValue().Set(Nan::New(r));
  }
  
  void VtkImplicitTextureCoordsWrap::GetRFunction(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkImplicitTextureCoordsWrap *wrapper = ObjectWrap::Unwrap<VtkImplicitTextureCoordsWrap>(info.Holder());
  	vtkImplicitTextureCoords *native = (vtkImplicitTextureCoords *)wrapper->native.GetPointer();
  	vtkImplicitFunction * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetRFunction();
  	VtkImplicitFunctionWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkImplicitFunctionWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkImplicitFunctionWrap *w = new VtkImplicitFunctionWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkImplicitTextureCoordsWrap::GetSFunction(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkImplicitTextureCoordsWrap *wrapper = ObjectWrap::Unwrap<VtkImplicitTextureCoordsWrap>(info.Holder());
  	vtkImplicitTextureCoords *native = (vtkImplicitTextureCoords *)wrapper->native.GetPointer();
  	vtkImplicitFunction * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetSFunction();
  	VtkImplicitFunctionWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkImplicitFunctionWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkImplicitFunctionWrap *w = new VtkImplicitFunctionWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkImplicitTextureCoordsWrap::GetTFunction(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkImplicitTextureCoordsWrap *wrapper = ObjectWrap::Unwrap<VtkImplicitTextureCoordsWrap>(info.Holder());
  	vtkImplicitTextureCoords *native = (vtkImplicitTextureCoords *)wrapper->native.GetPointer();
  	vtkImplicitFunction * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetTFunction();
  	VtkImplicitFunctionWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkImplicitFunctionWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkImplicitFunctionWrap *w = new VtkImplicitFunctionWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkImplicitTextureCoordsWrap::NewInstance(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkImplicitTextureCoordsWrap *wrapper = ObjectWrap::Unwrap<VtkImplicitTextureCoordsWrap>(info.Holder());
  	vtkImplicitTextureCoords *native = (vtkImplicitTextureCoords *)wrapper->native.GetPointer();
  	vtkImplicitTextureCoords * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->NewInstance();
  	VtkImplicitTextureCoordsWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkImplicitTextureCoordsWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkImplicitTextureCoordsWrap *w = new VtkImplicitTextureCoordsWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkImplicitTextureCoordsWrap::SafeDownCast(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkImplicitTextureCoordsWrap *wrapper = ObjectWrap::Unwrap<VtkImplicitTextureCoordsWrap>(info.Holder());
  	vtkImplicitTextureCoords *native = (vtkImplicitTextureCoords *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkObjectBaseWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkObjectBaseWrap *a0 = ObjectWrap::Unwrap<VtkObjectBaseWrap>(info[0]->ToObject());
  		vtkImplicitTextureCoords * r;
  		if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		r = native->SafeDownCast(
  			(vtkObjectBase *) a0->native.GetPointer()
  		);
  		VtkImplicitTextureCoordsWrap::InitPtpl();
  		v8::Local<v8::Value> argv[1] =
  			{ Nan::New(vtkNodeJsNoWrap) };
  		v8::Local<v8::Function> cons =
  			Nan::New<v8::FunctionTemplate>(VtkImplicitTextureCoordsWrap::ptpl)->GetFunction();
  		v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  		VtkImplicitTextureCoordsWrap *w = new VtkImplicitTextureCoordsWrap();
  		w->native = r;
  		w->Wrap(wo);
  		info.GetReturnValue().Set(wo);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkImplicitTextureCoordsWrap::SetFlipTexture(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkImplicitTextureCoordsWrap *wrapper = ObjectWrap::Unwrap<VtkImplicitTextureCoordsWrap>(info.Holder());
  	vtkImplicitTextureCoords *native = (vtkImplicitTextureCoords *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsInt32())
  	{
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetFlipTexture(
  			info[0]->Int32Value()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkImplicitTextureCoordsWrap::SetRFunction(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkImplicitTextureCoordsWrap *wrapper = ObjectWrap::Unwrap<VtkImplicitTextureCoordsWrap>(info.Holder());
  	vtkImplicitTextureCoords *native = (vtkImplicitTextureCoords *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkImplicitFunctionWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkImplicitFunctionWrap *a0 = ObjectWrap::Unwrap<VtkImplicitFunctionWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetRFunction(
  			(vtkImplicitFunction *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkImplicitTextureCoordsWrap::SetSFunction(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkImplicitTextureCoordsWrap *wrapper = ObjectWrap::Unwrap<VtkImplicitTextureCoordsWrap>(info.Holder());
  	vtkImplicitTextureCoords *native = (vtkImplicitTextureCoords *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkImplicitFunctionWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkImplicitFunctionWrap *a0 = ObjectWrap::Unwrap<VtkImplicitFunctionWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetSFunction(
  			(vtkImplicitFunction *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkImplicitTextureCoordsWrap::SetTFunction(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkImplicitTextureCoordsWrap *wrapper = ObjectWrap::Unwrap<VtkImplicitTextureCoordsWrap>(info.Holder());
  	vtkImplicitTextureCoords *native = (vtkImplicitTextureCoords *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkImplicitFunctionWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkImplicitFunctionWrap *a0 = ObjectWrap::Unwrap<VtkImplicitFunctionWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetTFunction(
  			(vtkImplicitFunction *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  