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 "vtkProp3DWrap.h"
  #include "vtkProp3DFollowerWrap.h"
  #include "vtkObjectBaseWrap.h"
  #include "vtkCameraWrap.h"
  #include "vtkViewportWrap.h"
  #include "vtkWindowWrap.h"
  #include "vtkPropWrap.h"
  #include "vtkAssemblyPathWrap.h"
  #include "../../plus/plus.h"
  
  using namespace v8;
  
  extern Nan::Persistent<v8::Object> vtkNodeJsNoWrap;
  Nan::Persistent<v8::FunctionTemplate> VtkProp3DFollowerWrap::ptpl;
  
  VtkProp3DFollowerWrap::VtkProp3DFollowerWrap()
  { }
  
  VtkProp3DFollowerWrap::VtkProp3DFollowerWrap(vtkSmartPointer<vtkProp3DFollower> _native)
  { native = _native; }
  
  VtkProp3DFollowerWrap::~VtkProp3DFollowerWrap()
  { }
  
  void VtkProp3DFollowerWrap::Init(v8::Local<v8::Object> exports)
  {
  	Nan::SetAccessor(exports, Nan::New("vtkProp3DFollower").ToLocalChecked(), ConstructorGetter);
  	Nan::SetAccessor(exports, Nan::New("Prop3DFollower").ToLocalChecked(), ConstructorGetter);
  }
  
  void VtkProp3DFollowerWrap::ConstructorGetter(
  	v8::Local<v8::String> property,
  	const Nan::PropertyCallbackInfo<v8::Value>& info)
  {
  	InitPtpl();
  	info.GetReturnValue().Set(Nan::New(ptpl)->GetFunction());
  }
  
  void VtkProp3DFollowerWrap::InitPtpl()
  {
  	if (!ptpl.IsEmpty()) return;
  	v8::Local<v8::FunctionTemplate> tpl = Nan::New<v8::FunctionTemplate>(New);
  	VtkProp3DWrap::InitPtpl( );
  	tpl->Inherit(Nan::New<FunctionTemplate>(VtkProp3DWrap::ptpl));
  	tpl->SetClassName(Nan::New("VtkProp3DFollowerWrap").ToLocalChecked());
  	tpl->InstanceTemplate()->SetInternalFieldCount(1);
  
  	Nan::SetPrototypeMethod(tpl, "ComputeMatrix", ComputeMatrix);
  	Nan::SetPrototypeMethod(tpl, "computeMatrix", ComputeMatrix);
  
  	Nan::SetPrototypeMethod(tpl, "GetCamera", GetCamera);
  	Nan::SetPrototypeMethod(tpl, "getCamera", GetCamera);
  
  	Nan::SetPrototypeMethod(tpl, "GetNextPath", GetNextPath);
  	Nan::SetPrototypeMethod(tpl, "getNextPath", GetNextPath);
  
  	Nan::SetPrototypeMethod(tpl, "GetProp3D", GetProp3D);
  	Nan::SetPrototypeMethod(tpl, "getProp3D", GetProp3D);
  
  	Nan::SetPrototypeMethod(tpl, "HasTranslucentPolygonalGeometry", HasTranslucentPolygonalGeometry);
  	Nan::SetPrototypeMethod(tpl, "hasTranslucentPolygonalGeometry", HasTranslucentPolygonalGeometry);
  
  	Nan::SetPrototypeMethod(tpl, "InitPathTraversal", InitPathTraversal);
  	Nan::SetPrototypeMethod(tpl, "initPathTraversal", InitPathTraversal);
  
  	Nan::SetPrototypeMethod(tpl, "NewInstance", NewInstance);
  	Nan::SetPrototypeMethod(tpl, "newInstance", NewInstance);
  
  	Nan::SetPrototypeMethod(tpl, "ReleaseGraphicsResources", ReleaseGraphicsResources);
  	Nan::SetPrototypeMethod(tpl, "releaseGraphicsResources", ReleaseGraphicsResources);
  
  	Nan::SetPrototypeMethod(tpl, "RenderOpaqueGeometry", RenderOpaqueGeometry);
  	Nan::SetPrototypeMethod(tpl, "renderOpaqueGeometry", RenderOpaqueGeometry);
  
  	Nan::SetPrototypeMethod(tpl, "RenderTranslucentPolygonalGeometry", RenderTranslucentPolygonalGeometry);
  	Nan::SetPrototypeMethod(tpl, "renderTranslucentPolygonalGeometry", RenderTranslucentPolygonalGeometry);
  
  	Nan::SetPrototypeMethod(tpl, "RenderVolumetricGeometry", RenderVolumetricGeometry);
  	Nan::SetPrototypeMethod(tpl, "renderVolumetricGeometry", RenderVolumetricGeometry);
  
  	Nan::SetPrototypeMethod(tpl, "SafeDownCast", SafeDownCast);
  	Nan::SetPrototypeMethod(tpl, "safeDownCast", SafeDownCast);
  
  	Nan::SetPrototypeMethod(tpl, "SetCamera", SetCamera);
  	Nan::SetPrototypeMethod(tpl, "setCamera", SetCamera);
  
  	Nan::SetPrototypeMethod(tpl, "SetProp3D", SetProp3D);
  	Nan::SetPrototypeMethod(tpl, "setProp3D", SetProp3D);
  
  	Nan::SetPrototypeMethod(tpl, "ShallowCopy", ShallowCopy);
  	Nan::SetPrototypeMethod(tpl, "shallowCopy", ShallowCopy);
  
  #ifdef VTK_NODE_PLUS_VTKPROP3DFOLLOWERWRAP_INITPTPL
  	VTK_NODE_PLUS_VTKPROP3DFOLLOWERWRAP_INITPTPL
  #endif
  	ptpl.Reset( tpl );
  }
  
  void VtkProp3DFollowerWrap::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<vtkProp3DFollower> native = vtkSmartPointer<vtkProp3DFollower>::New();
  		VtkProp3DFollowerWrap* obj = new VtkProp3DFollowerWrap(native);
  		obj->Wrap(info.This());
  	}
  	else
  	{
  		if(info[0]->ToObject() != vtkNodeJsNoWrap )
  		{
  			Nan::ThrowError("Parameter Error");
  			return;
  		}
  	}
  
  	info.GetReturnValue().Set(info.This());
  }
  
  void VtkProp3DFollowerWrap::ComputeMatrix(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->ComputeMatrix();
  }
  
  void VtkProp3DFollowerWrap::GetCamera(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  	vtkCamera * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetCamera();
  	VtkCameraWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkCameraWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkCameraWrap *w = new VtkCameraWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkProp3DFollowerWrap::GetNextPath(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  	vtkAssemblyPath * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetNextPath();
  	VtkAssemblyPathWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkAssemblyPathWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkAssemblyPathWrap *w = new VtkAssemblyPathWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkProp3DFollowerWrap::GetProp3D(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  	vtkProp3D * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetProp3D();
  	VtkProp3DWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkProp3DWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkProp3DWrap *w = new VtkProp3DWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkProp3DFollowerWrap::HasTranslucentPolygonalGeometry(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  	int r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->HasTranslucentPolygonalGeometry();
  	info.GetReturnValue().Set(Nan::New(r));
  }
  
  void VtkProp3DFollowerWrap::InitPathTraversal(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->InitPathTraversal();
  }
  
  void VtkProp3DFollowerWrap::NewInstance(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  	vtkProp3DFollower * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->NewInstance();
  	VtkProp3DFollowerWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkProp3DFollowerWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkProp3DFollowerWrap *w = new VtkProp3DFollowerWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkProp3DFollowerWrap::ReleaseGraphicsResources(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkWindowWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkWindowWrap *a0 = ObjectWrap::Unwrap<VtkWindowWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->ReleaseGraphicsResources(
  			(vtkWindow *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkProp3DFollowerWrap::RenderOpaqueGeometry(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkViewportWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkViewportWrap *a0 = ObjectWrap::Unwrap<VtkViewportWrap>(info[0]->ToObject());
  		int r;
  		if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		r = native->RenderOpaqueGeometry(
  			(vtkViewport *) a0->native.GetPointer()
  		);
  		info.GetReturnValue().Set(Nan::New(r));
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkProp3DFollowerWrap::RenderTranslucentPolygonalGeometry(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkViewportWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkViewportWrap *a0 = ObjectWrap::Unwrap<VtkViewportWrap>(info[0]->ToObject());
  		int r;
  		if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		r = native->RenderTranslucentPolygonalGeometry(
  			(vtkViewport *) a0->native.GetPointer()
  		);
  		info.GetReturnValue().Set(Nan::New(r));
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkProp3DFollowerWrap::RenderVolumetricGeometry(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkViewportWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkViewportWrap *a0 = ObjectWrap::Unwrap<VtkViewportWrap>(info[0]->ToObject());
  		int r;
  		if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		r = native->RenderVolumetricGeometry(
  			(vtkViewport *) a0->native.GetPointer()
  		);
  		info.GetReturnValue().Set(Nan::New(r));
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkProp3DFollowerWrap::SafeDownCast(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)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());
  		vtkProp3DFollower * r;
  		if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		r = native->SafeDownCast(
  			(vtkObjectBase *) a0->native.GetPointer()
  		);
  		VtkProp3DFollowerWrap::InitPtpl();
  		v8::Local<v8::Value> argv[1] =
  			{ Nan::New(vtkNodeJsNoWrap) };
  		v8::Local<v8::Function> cons =
  			Nan::New<v8::FunctionTemplate>(VtkProp3DFollowerWrap::ptpl)->GetFunction();
  		v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  		VtkProp3DFollowerWrap *w = new VtkProp3DFollowerWrap();
  		w->native = r;
  		w->Wrap(wo);
  		info.GetReturnValue().Set(wo);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkProp3DFollowerWrap::SetCamera(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkCameraWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkCameraWrap *a0 = ObjectWrap::Unwrap<VtkCameraWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetCamera(
  			(vtkCamera *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkProp3DFollowerWrap::SetProp3D(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkProp3DWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkProp3DWrap *a0 = ObjectWrap::Unwrap<VtkProp3DWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetProp3D(
  			(vtkProp3D *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkProp3DFollowerWrap::ShallowCopy(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkProp3DFollowerWrap *wrapper = ObjectWrap::Unwrap<VtkProp3DFollowerWrap>(info.Holder());
  	vtkProp3DFollower *native = (vtkProp3DFollower *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkPropWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkPropWrap *a0 = ObjectWrap::Unwrap<VtkPropWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->ShallowCopy(
  			(vtkProp *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  