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 "vtkObjectWrap.h"
  #include "vtkPropWrap.h"
  #include "vtkPropCollectionWrap.h"
  #include "vtkAssemblyPathWrap.h"
  #include "vtkMatrix4x4Wrap.h"
  #include "vtkInformationWrap.h"
  #include "vtkInformationIntegerKeyWrap.h"
  #include "vtkInformationDoubleVectorKeyWrap.h"
  #include "vtkViewportWrap.h"
  #include "vtkWindowWrap.h"
  #include "vtkAssemblyPathsWrap.h"
  #include "../../plus/plus.h"
  
  using namespace v8;
  
  extern Nan::Persistent<v8::Object> vtkNodeJsNoWrap;
  Nan::Persistent<v8::FunctionTemplate> VtkPropWrap::ptpl;
  
  VtkPropWrap::VtkPropWrap()
  { }
  
  VtkPropWrap::VtkPropWrap(vtkSmartPointer<vtkProp> _native)
  { native = _native; }
  
  VtkPropWrap::~VtkPropWrap()
  { }
  
  void VtkPropWrap::Init(v8::Local<v8::Object> exports)
  {
  	Nan::SetAccessor(exports, Nan::New("vtkProp").ToLocalChecked(), ConstructorGetter);
  	Nan::SetAccessor(exports, Nan::New("Prop").ToLocalChecked(), ConstructorGetter);
  }
  
  void VtkPropWrap::ConstructorGetter(
  	v8::Local<v8::String> property,
  	const Nan::PropertyCallbackInfo<v8::Value>& info)
  {
  	InitPtpl();
  	info.GetReturnValue().Set(Nan::New(ptpl)->GetFunction());
  }
  
  void VtkPropWrap::InitPtpl()
  {
  	if (!ptpl.IsEmpty()) return;
  	v8::Local<v8::FunctionTemplate> tpl = Nan::New<v8::FunctionTemplate>(New);
  	VtkObjectWrap::InitPtpl( );
  	tpl->Inherit(Nan::New<FunctionTemplate>(VtkObjectWrap::ptpl));
  	tpl->SetClassName(Nan::New("VtkPropWrap").ToLocalChecked());
  	tpl->InstanceTemplate()->SetInternalFieldCount(1);
  
  	Nan::SetPrototypeMethod(tpl, "AddConsumer", AddConsumer);
  	Nan::SetPrototypeMethod(tpl, "addConsumer", AddConsumer);
  
  	Nan::SetPrototypeMethod(tpl, "AddEstimatedRenderTime", AddEstimatedRenderTime);
  	Nan::SetPrototypeMethod(tpl, "addEstimatedRenderTime", AddEstimatedRenderTime);
  
  	Nan::SetPrototypeMethod(tpl, "BuildPaths", BuildPaths);
  	Nan::SetPrototypeMethod(tpl, "buildPaths", BuildPaths);
  
  	Nan::SetPrototypeMethod(tpl, "DragableOff", DragableOff);
  	Nan::SetPrototypeMethod(tpl, "dragableOff", DragableOff);
  
  	Nan::SetPrototypeMethod(tpl, "DragableOn", DragableOn);
  	Nan::SetPrototypeMethod(tpl, "dragableOn", DragableOn);
  
  	Nan::SetPrototypeMethod(tpl, "GeneralTextureTransform", GeneralTextureTransform);
  	Nan::SetPrototypeMethod(tpl, "generalTextureTransform", GeneralTextureTransform);
  
  	Nan::SetPrototypeMethod(tpl, "GeneralTextureUnit", GeneralTextureUnit);
  	Nan::SetPrototypeMethod(tpl, "generalTextureUnit", GeneralTextureUnit);
  
  	Nan::SetPrototypeMethod(tpl, "GetActors", GetActors);
  	Nan::SetPrototypeMethod(tpl, "getActors", GetActors);
  
  	Nan::SetPrototypeMethod(tpl, "GetActors2D", GetActors2D);
  	Nan::SetPrototypeMethod(tpl, "getActors2D", GetActors2D);
  
  	Nan::SetPrototypeMethod(tpl, "GetAllocatedRenderTime", GetAllocatedRenderTime);
  	Nan::SetPrototypeMethod(tpl, "getAllocatedRenderTime", GetAllocatedRenderTime);
  
  	Nan::SetPrototypeMethod(tpl, "GetBounds", GetBounds);
  	Nan::SetPrototypeMethod(tpl, "getBounds", GetBounds);
  
  	Nan::SetPrototypeMethod(tpl, "GetClassName", GetClassName);
  	Nan::SetPrototypeMethod(tpl, "getClassName", GetClassName);
  
  	Nan::SetPrototypeMethod(tpl, "GetConsumer", GetConsumer);
  	Nan::SetPrototypeMethod(tpl, "getConsumer", GetConsumer);
  
  	Nan::SetPrototypeMethod(tpl, "GetDragable", GetDragable);
  	Nan::SetPrototypeMethod(tpl, "getDragable", GetDragable);
  
  	Nan::SetPrototypeMethod(tpl, "GetEstimatedRenderTime", GetEstimatedRenderTime);
  	Nan::SetPrototypeMethod(tpl, "getEstimatedRenderTime", GetEstimatedRenderTime);
  
  	Nan::SetPrototypeMethod(tpl, "GetMatrix", GetMatrix);
  	Nan::SetPrototypeMethod(tpl, "getMatrix", GetMatrix);
  
  	Nan::SetPrototypeMethod(tpl, "GetNextPath", GetNextPath);
  	Nan::SetPrototypeMethod(tpl, "getNextPath", GetNextPath);
  
  	Nan::SetPrototypeMethod(tpl, "GetNumberOfConsumers", GetNumberOfConsumers);
  	Nan::SetPrototypeMethod(tpl, "getNumberOfConsumers", GetNumberOfConsumers);
  
  	Nan::SetPrototypeMethod(tpl, "GetNumberOfPaths", GetNumberOfPaths);
  	Nan::SetPrototypeMethod(tpl, "getNumberOfPaths", GetNumberOfPaths);
  
  	Nan::SetPrototypeMethod(tpl, "GetPickable", GetPickable);
  	Nan::SetPrototypeMethod(tpl, "getPickable", GetPickable);
  
  	Nan::SetPrototypeMethod(tpl, "GetPropertyKeys", GetPropertyKeys);
  	Nan::SetPrototypeMethod(tpl, "getPropertyKeys", GetPropertyKeys);
  
  	Nan::SetPrototypeMethod(tpl, "GetRedrawMTime", GetRedrawMTime);
  	Nan::SetPrototypeMethod(tpl, "getRedrawMTime", GetRedrawMTime);
  
  	Nan::SetPrototypeMethod(tpl, "GetRenderTimeMultiplier", GetRenderTimeMultiplier);
  	Nan::SetPrototypeMethod(tpl, "getRenderTimeMultiplier", GetRenderTimeMultiplier);
  
  	Nan::SetPrototypeMethod(tpl, "GetSupportsSelection", GetSupportsSelection);
  	Nan::SetPrototypeMethod(tpl, "getSupportsSelection", GetSupportsSelection);
  
  	Nan::SetPrototypeMethod(tpl, "GetUseBounds", GetUseBounds);
  	Nan::SetPrototypeMethod(tpl, "getUseBounds", GetUseBounds);
  
  	Nan::SetPrototypeMethod(tpl, "GetVisibility", GetVisibility);
  	Nan::SetPrototypeMethod(tpl, "getVisibility", GetVisibility);
  
  	Nan::SetPrototypeMethod(tpl, "GetVolumes", GetVolumes);
  	Nan::SetPrototypeMethod(tpl, "getVolumes", GetVolumes);
  
  	Nan::SetPrototypeMethod(tpl, "HasKeys", HasKeys);
  	Nan::SetPrototypeMethod(tpl, "hasKeys", HasKeys);
  
  	Nan::SetPrototypeMethod(tpl, "HasTranslucentPolygonalGeometry", HasTranslucentPolygonalGeometry);
  	Nan::SetPrototypeMethod(tpl, "hasTranslucentPolygonalGeometry", HasTranslucentPolygonalGeometry);
  
  	Nan::SetPrototypeMethod(tpl, "InitPathTraversal", InitPathTraversal);
  	Nan::SetPrototypeMethod(tpl, "initPathTraversal", InitPathTraversal);
  
  	Nan::SetPrototypeMethod(tpl, "IsA", IsA);
  	Nan::SetPrototypeMethod(tpl, "isA", IsA);
  
  	Nan::SetPrototypeMethod(tpl, "IsConsumer", IsConsumer);
  	Nan::SetPrototypeMethod(tpl, "isConsumer", IsConsumer);
  
  	Nan::SetPrototypeMethod(tpl, "NewInstance", NewInstance);
  	Nan::SetPrototypeMethod(tpl, "newInstance", NewInstance);
  
  	Nan::SetPrototypeMethod(tpl, "Pick", Pick);
  	Nan::SetPrototypeMethod(tpl, "pick", Pick);
  
  	Nan::SetPrototypeMethod(tpl, "PickableOff", PickableOff);
  	Nan::SetPrototypeMethod(tpl, "pickableOff", PickableOff);
  
  	Nan::SetPrototypeMethod(tpl, "PickableOn", PickableOn);
  	Nan::SetPrototypeMethod(tpl, "pickableOn", PickableOn);
  
  	Nan::SetPrototypeMethod(tpl, "PokeMatrix", PokeMatrix);
  	Nan::SetPrototypeMethod(tpl, "pokeMatrix", PokeMatrix);
  
  	Nan::SetPrototypeMethod(tpl, "ReleaseGraphicsResources", ReleaseGraphicsResources);
  	Nan::SetPrototypeMethod(tpl, "releaseGraphicsResources", ReleaseGraphicsResources);
  
  	Nan::SetPrototypeMethod(tpl, "RemoveConsumer", RemoveConsumer);
  	Nan::SetPrototypeMethod(tpl, "removeConsumer", RemoveConsumer);
  
  	Nan::SetPrototypeMethod(tpl, "RenderFilteredOpaqueGeometry", RenderFilteredOpaqueGeometry);
  	Nan::SetPrototypeMethod(tpl, "renderFilteredOpaqueGeometry", RenderFilteredOpaqueGeometry);
  
  	Nan::SetPrototypeMethod(tpl, "RenderFilteredOverlay", RenderFilteredOverlay);
  	Nan::SetPrototypeMethod(tpl, "renderFilteredOverlay", RenderFilteredOverlay);
  
  	Nan::SetPrototypeMethod(tpl, "RenderFilteredTranslucentPolygonalGeometry", RenderFilteredTranslucentPolygonalGeometry);
  	Nan::SetPrototypeMethod(tpl, "renderFilteredTranslucentPolygonalGeometry", RenderFilteredTranslucentPolygonalGeometry);
  
  	Nan::SetPrototypeMethod(tpl, "RenderFilteredVolumetricGeometry", RenderFilteredVolumetricGeometry);
  	Nan::SetPrototypeMethod(tpl, "renderFilteredVolumetricGeometry", RenderFilteredVolumetricGeometry);
  
  	Nan::SetPrototypeMethod(tpl, "RenderOpaqueGeometry", RenderOpaqueGeometry);
  	Nan::SetPrototypeMethod(tpl, "renderOpaqueGeometry", RenderOpaqueGeometry);
  
  	Nan::SetPrototypeMethod(tpl, "RenderOverlay", RenderOverlay);
  	Nan::SetPrototypeMethod(tpl, "renderOverlay", RenderOverlay);
  
  	Nan::SetPrototypeMethod(tpl, "RenderTranslucentPolygonalGeometry", RenderTranslucentPolygonalGeometry);
  	Nan::SetPrototypeMethod(tpl, "renderTranslucentPolygonalGeometry", RenderTranslucentPolygonalGeometry);
  
  	Nan::SetPrototypeMethod(tpl, "RenderVolumetricGeometry", RenderVolumetricGeometry);
  	Nan::SetPrototypeMethod(tpl, "renderVolumetricGeometry", RenderVolumetricGeometry);
  
  	Nan::SetPrototypeMethod(tpl, "RestoreEstimatedRenderTime", RestoreEstimatedRenderTime);
  	Nan::SetPrototypeMethod(tpl, "restoreEstimatedRenderTime", RestoreEstimatedRenderTime);
  
  	Nan::SetPrototypeMethod(tpl, "SafeDownCast", SafeDownCast);
  	Nan::SetPrototypeMethod(tpl, "safeDownCast", SafeDownCast);
  
  	Nan::SetPrototypeMethod(tpl, "SetAllocatedRenderTime", SetAllocatedRenderTime);
  	Nan::SetPrototypeMethod(tpl, "setAllocatedRenderTime", SetAllocatedRenderTime);
  
  	Nan::SetPrototypeMethod(tpl, "SetDragable", SetDragable);
  	Nan::SetPrototypeMethod(tpl, "setDragable", SetDragable);
  
  	Nan::SetPrototypeMethod(tpl, "SetEstimatedRenderTime", SetEstimatedRenderTime);
  	Nan::SetPrototypeMethod(tpl, "setEstimatedRenderTime", SetEstimatedRenderTime);
  
  	Nan::SetPrototypeMethod(tpl, "SetPickable", SetPickable);
  	Nan::SetPrototypeMethod(tpl, "setPickable", SetPickable);
  
  	Nan::SetPrototypeMethod(tpl, "SetPropertyKeys", SetPropertyKeys);
  	Nan::SetPrototypeMethod(tpl, "setPropertyKeys", SetPropertyKeys);
  
  	Nan::SetPrototypeMethod(tpl, "SetRenderTimeMultiplier", SetRenderTimeMultiplier);
  	Nan::SetPrototypeMethod(tpl, "setRenderTimeMultiplier", SetRenderTimeMultiplier);
  
  	Nan::SetPrototypeMethod(tpl, "SetUseBounds", SetUseBounds);
  	Nan::SetPrototypeMethod(tpl, "setUseBounds", SetUseBounds);
  
  	Nan::SetPrototypeMethod(tpl, "SetVisibility", SetVisibility);
  	Nan::SetPrototypeMethod(tpl, "setVisibility", SetVisibility);
  
  	Nan::SetPrototypeMethod(tpl, "ShallowCopy", ShallowCopy);
  	Nan::SetPrototypeMethod(tpl, "shallowCopy", ShallowCopy);
  
  	Nan::SetPrototypeMethod(tpl, "UseBoundsOff", UseBoundsOff);
  	Nan::SetPrototypeMethod(tpl, "useBoundsOff", UseBoundsOff);
  
  	Nan::SetPrototypeMethod(tpl, "UseBoundsOn", UseBoundsOn);
  	Nan::SetPrototypeMethod(tpl, "useBoundsOn", UseBoundsOn);
  
  	Nan::SetPrototypeMethod(tpl, "VisibilityOff", VisibilityOff);
  	Nan::SetPrototypeMethod(tpl, "visibilityOff", VisibilityOff);
  
  	Nan::SetPrototypeMethod(tpl, "VisibilityOn", VisibilityOn);
  	Nan::SetPrototypeMethod(tpl, "visibilityOn", VisibilityOn);
  
  #ifdef VTK_NODE_PLUS_VTKPROPWRAP_INITPTPL
  	VTK_NODE_PLUS_VTKPROPWRAP_INITPTPL
  #endif
  	ptpl.Reset( tpl );
  }
  
  void VtkPropWrap::New(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	if(!info.IsConstructCall())
  	{
  		Nan::ThrowError("Constructor not called in a construct call.");
  		return;
  	}
  
  	if(info.Length() == 0)
  	{
  		Nan::ThrowError("Cannot create instance of abstract class.");
  		return;
  	}
  	else
  	{
  		if(info[0]->ToObject() != vtkNodeJsNoWrap )
  		{
  			Nan::ThrowError("Parameter Error");
  			return;
  		}
  	}
  
  	info.GetReturnValue().Set(info.This());
  }
  
  void VtkPropWrap::AddConsumer(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->AddConsumer(
  			(vtkObject *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::AddEstimatedRenderTime(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsNumber())
  	{
  		if(info.Length() > 1 && info[1]->IsObject() && (Nan::New(VtkViewportWrap::ptpl))->HasInstance(info[1]))
  		{
  			VtkViewportWrap *a1 = ObjectWrap::Unwrap<VtkViewportWrap>(info[1]->ToObject());
  						if(info.Length() != 2)
  			{
  				Nan::ThrowError("Too many parameters.");
  				return;
  			}
  			native->AddEstimatedRenderTime(
  				info[0]->NumberValue(),
  				(vtkViewport *) a1->native.GetPointer()
  			);
  			return;
  		}
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::BuildPaths(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkAssemblyPathsWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkAssemblyPathsWrap *a0 = ObjectWrap::Unwrap<VtkAssemblyPathsWrap>(info[0]->ToObject());
  		if(info.Length() > 1 && info[1]->IsObject() && (Nan::New(VtkAssemblyPathWrap::ptpl))->HasInstance(info[1]))
  		{
  			VtkAssemblyPathWrap *a1 = ObjectWrap::Unwrap<VtkAssemblyPathWrap>(info[1]->ToObject());
  						if(info.Length() != 2)
  			{
  				Nan::ThrowError("Too many parameters.");
  				return;
  			}
  			native->BuildPaths(
  				(vtkAssemblyPaths *) a0->native.GetPointer(),
  				(vtkAssemblyPath *) a1->native.GetPointer()
  			);
  			return;
  		}
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::DragableOff(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->DragableOff();
  }
  
  void VtkPropWrap::DragableOn(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->DragableOn();
  }
  
  void VtkPropWrap::GeneralTextureTransform(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	vtkInformationDoubleVectorKey * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GeneralTextureTransform();
  	VtkInformationDoubleVectorKeyWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkInformationDoubleVectorKeyWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkInformationDoubleVectorKeyWrap *w = new VtkInformationDoubleVectorKeyWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkPropWrap::GeneralTextureUnit(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	vtkInformationIntegerKey * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GeneralTextureUnit();
  	VtkInformationIntegerKeyWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkInformationIntegerKeyWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkInformationIntegerKeyWrap *w = new VtkInformationIntegerKeyWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkPropWrap::GetActors(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkPropCollectionWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkPropCollectionWrap *a0 = ObjectWrap::Unwrap<VtkPropCollectionWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->GetActors(
  			(vtkPropCollection *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::GetActors2D(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkPropCollectionWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkPropCollectionWrap *a0 = ObjectWrap::Unwrap<VtkPropCollectionWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->GetActors2D(
  			(vtkPropCollection *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::GetAllocatedRenderTime(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	double r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetAllocatedRenderTime();
  	info.GetReturnValue().Set(Nan::New(r));
  }
  
  void VtkPropWrap::GetBounds(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	double const * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetBounds();
  	Local<v8::ArrayBuffer> ab = v8::ArrayBuffer::New(v8::Isolate::GetCurrent(), 6 * sizeof(double));
  	Local<v8::Float64Array> at = v8::Float64Array::New(ab, 0, 6);
  	memcpy(ab->GetContents().Data(), r, 6 * sizeof(double));
  	info.GetReturnValue().Set(at);
  }
  
  void VtkPropWrap::GetClassName(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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 VtkPropWrap::GetConsumer(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsInt32())
  	{
  		vtkObject * r;
  		if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		r = native->GetConsumer(
  			info[0]->Int32Value()
  		);
  		VtkObjectWrap::InitPtpl();
  		v8::Local<v8::Value> argv[1] =
  			{ Nan::New(vtkNodeJsNoWrap) };
  		v8::Local<v8::Function> cons =
  			Nan::New<v8::FunctionTemplate>(VtkObjectWrap::ptpl)->GetFunction();
  		v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  		VtkObjectWrap *w = new VtkObjectWrap();
  		w->native = r;
  		w->Wrap(wo);
  		info.GetReturnValue().Set(wo);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::GetDragable(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	int r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetDragable();
  	info.GetReturnValue().Set(Nan::New(r));
  }
  
  void VtkPropWrap::GetEstimatedRenderTime(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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());
  		double r;
  		if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		r = native->GetEstimatedRenderTime(
  			(vtkViewport *) a0->native.GetPointer()
  		);
  		info.GetReturnValue().Set(Nan::New(r));
  		return;
  	}
  	double r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetEstimatedRenderTime();
  	info.GetReturnValue().Set(Nan::New(r));
  }
  
  void VtkPropWrap::GetMatrix(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	vtkMatrix4x4 * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetMatrix();
  	VtkMatrix4x4Wrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkMatrix4x4Wrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkMatrix4x4Wrap *w = new VtkMatrix4x4Wrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkPropWrap::GetNextPath(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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 VtkPropWrap::GetNumberOfConsumers(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	int r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetNumberOfConsumers();
  	info.GetReturnValue().Set(Nan::New(r));
  }
  
  void VtkPropWrap::GetNumberOfPaths(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	int r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetNumberOfPaths();
  	info.GetReturnValue().Set(Nan::New(r));
  }
  
  void VtkPropWrap::GetPickable(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	int r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetPickable();
  	info.GetReturnValue().Set(Nan::New(r));
  }
  
  void VtkPropWrap::GetPropertyKeys(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	vtkInformation * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetPropertyKeys();
  	VtkInformationWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkInformationWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkInformationWrap *w = new VtkInformationWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkPropWrap::GetRedrawMTime(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	unsigned int r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetRedrawMTime();
  	info.GetReturnValue().Set(Nan::New(r));
  }
  
  void VtkPropWrap::GetRenderTimeMultiplier(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	double r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetRenderTimeMultiplier();
  	info.GetReturnValue().Set(Nan::New(r));
  }
  
  void VtkPropWrap::GetSupportsSelection(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	bool r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetSupportsSelection();
  	info.GetReturnValue().Set(Nan::New(r));
  }
  
  void VtkPropWrap::GetUseBounds(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	bool r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetUseBounds();
  	info.GetReturnValue().Set(Nan::New(r));
  }
  
  void VtkPropWrap::GetVisibility(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	int r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->GetVisibility();
  	info.GetReturnValue().Set(Nan::New(r));
  }
  
  void VtkPropWrap::GetVolumes(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkPropCollectionWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkPropCollectionWrap *a0 = ObjectWrap::Unwrap<VtkPropCollectionWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->GetVolumes(
  			(vtkPropCollection *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::HasKeys(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkInformationWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkInformationWrap *a0 = ObjectWrap::Unwrap<VtkInformationWrap>(info[0]->ToObject());
  		bool r;
  		if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		r = native->HasKeys(
  			(vtkInformation *) a0->native.GetPointer()
  		);
  		info.GetReturnValue().Set(Nan::New(r));
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::HasTranslucentPolygonalGeometry(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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 VtkPropWrap::InitPathTraversal(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->InitPathTraversal();
  }
  
  void VtkPropWrap::IsA(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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 VtkPropWrap::IsConsumer(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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());
  		int r;
  		if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		r = native->IsConsumer(
  			(vtkObject *) a0->native.GetPointer()
  		);
  		info.GetReturnValue().Set(Nan::New(r));
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::NewInstance(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	vtkProp * r;
  	if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	r = native->NewInstance();
  	VtkPropWrap::InitPtpl();
  	v8::Local<v8::Value> argv[1] =
  		{ Nan::New(vtkNodeJsNoWrap) };
  	v8::Local<v8::Function> cons =
  		Nan::New<v8::FunctionTemplate>(VtkPropWrap::ptpl)->GetFunction();
  	v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  	VtkPropWrap *w = new VtkPropWrap();
  	w->native = r;
  	w->Wrap(wo);
  	info.GetReturnValue().Set(wo);
  }
  
  void VtkPropWrap::Pick(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->Pick();
  }
  
  void VtkPropWrap::PickableOff(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->PickableOff();
  }
  
  void VtkPropWrap::PickableOn(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->PickableOn();
  }
  
  void VtkPropWrap::PokeMatrix(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkMatrix4x4Wrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkMatrix4x4Wrap *a0 = ObjectWrap::Unwrap<VtkMatrix4x4Wrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->PokeMatrix(
  			(vtkMatrix4x4 *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::ReleaseGraphicsResources(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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 VtkPropWrap::RemoveConsumer(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->RemoveConsumer(
  			(vtkObject *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::RenderFilteredOpaqueGeometry(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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());
  		if(info.Length() > 1 && info[1]->IsObject() && (Nan::New(VtkInformationWrap::ptpl))->HasInstance(info[1]))
  		{
  			VtkInformationWrap *a1 = ObjectWrap::Unwrap<VtkInformationWrap>(info[1]->ToObject());
  			bool r;
  			if(info.Length() != 2)
  			{
  				Nan::ThrowError("Too many parameters.");
  				return;
  			}
  			r = native->RenderFilteredOpaqueGeometry(
  				(vtkViewport *) a0->native.GetPointer(),
  				(vtkInformation *) a1->native.GetPointer()
  			);
  			info.GetReturnValue().Set(Nan::New(r));
  			return;
  		}
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::RenderFilteredOverlay(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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());
  		if(info.Length() > 1 && info[1]->IsObject() && (Nan::New(VtkInformationWrap::ptpl))->HasInstance(info[1]))
  		{
  			VtkInformationWrap *a1 = ObjectWrap::Unwrap<VtkInformationWrap>(info[1]->ToObject());
  			bool r;
  			if(info.Length() != 2)
  			{
  				Nan::ThrowError("Too many parameters.");
  				return;
  			}
  			r = native->RenderFilteredOverlay(
  				(vtkViewport *) a0->native.GetPointer(),
  				(vtkInformation *) a1->native.GetPointer()
  			);
  			info.GetReturnValue().Set(Nan::New(r));
  			return;
  		}
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::RenderFilteredTranslucentPolygonalGeometry(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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());
  		if(info.Length() > 1 && info[1]->IsObject() && (Nan::New(VtkInformationWrap::ptpl))->HasInstance(info[1]))
  		{
  			VtkInformationWrap *a1 = ObjectWrap::Unwrap<VtkInformationWrap>(info[1]->ToObject());
  			bool r;
  			if(info.Length() != 2)
  			{
  				Nan::ThrowError("Too many parameters.");
  				return;
  			}
  			r = native->RenderFilteredTranslucentPolygonalGeometry(
  				(vtkViewport *) a0->native.GetPointer(),
  				(vtkInformation *) a1->native.GetPointer()
  			);
  			info.GetReturnValue().Set(Nan::New(r));
  			return;
  		}
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::RenderFilteredVolumetricGeometry(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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());
  		if(info.Length() > 1 && info[1]->IsObject() && (Nan::New(VtkInformationWrap::ptpl))->HasInstance(info[1]))
  		{
  			VtkInformationWrap *a1 = ObjectWrap::Unwrap<VtkInformationWrap>(info[1]->ToObject());
  			bool r;
  			if(info.Length() != 2)
  			{
  				Nan::ThrowError("Too many parameters.");
  				return;
  			}
  			r = native->RenderFilteredVolumetricGeometry(
  				(vtkViewport *) a0->native.GetPointer(),
  				(vtkInformation *) a1->native.GetPointer()
  			);
  			info.GetReturnValue().Set(Nan::New(r));
  			return;
  		}
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::RenderOpaqueGeometry(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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 VtkPropWrap::RenderOverlay(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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->RenderOverlay(
  			(vtkViewport *) a0->native.GetPointer()
  		);
  		info.GetReturnValue().Set(Nan::New(r));
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::RenderTranslucentPolygonalGeometry(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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 VtkPropWrap::RenderVolumetricGeometry(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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 VtkPropWrap::RestoreEstimatedRenderTime(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->RestoreEstimatedRenderTime();
  }
  
  void VtkPropWrap::SafeDownCast(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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());
  		vtkProp * r;
  		if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		r = native->SafeDownCast(
  			(vtkObject *) a0->native.GetPointer()
  		);
  		VtkPropWrap::InitPtpl();
  		v8::Local<v8::Value> argv[1] =
  			{ Nan::New(vtkNodeJsNoWrap) };
  		v8::Local<v8::Function> cons =
  			Nan::New<v8::FunctionTemplate>(VtkPropWrap::ptpl)->GetFunction();
  		v8::Local<v8::Object> wo = cons->NewInstance(1, argv);
  		VtkPropWrap *w = new VtkPropWrap();
  		w->native = r;
  		w->Wrap(wo);
  		info.GetReturnValue().Set(wo);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::SetAllocatedRenderTime(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsNumber())
  	{
  		if(info.Length() > 1 && info[1]->IsObject() && (Nan::New(VtkViewportWrap::ptpl))->HasInstance(info[1]))
  		{
  			VtkViewportWrap *a1 = ObjectWrap::Unwrap<VtkViewportWrap>(info[1]->ToObject());
  						if(info.Length() != 2)
  			{
  				Nan::ThrowError("Too many parameters.");
  				return;
  			}
  			native->SetAllocatedRenderTime(
  				info[0]->NumberValue(),
  				(vtkViewport *) a1->native.GetPointer()
  			);
  			return;
  		}
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::SetDragable(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsInt32())
  	{
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetDragable(
  			info[0]->Int32Value()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::SetEstimatedRenderTime(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsNumber())
  	{
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetEstimatedRenderTime(
  			info[0]->NumberValue()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::SetPickable(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsInt32())
  	{
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetPickable(
  			info[0]->Int32Value()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::SetPropertyKeys(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsObject() && (Nan::New(VtkInformationWrap::ptpl))->HasInstance(info[0]))
  	{
  		VtkInformationWrap *a0 = ObjectWrap::Unwrap<VtkInformationWrap>(info[0]->ToObject());
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetPropertyKeys(
  			(vtkInformation *) a0->native.GetPointer()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::SetRenderTimeMultiplier(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsNumber())
  	{
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetRenderTimeMultiplier(
  			info[0]->NumberValue()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::SetUseBounds(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsBoolean())
  	{
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetUseBounds(
  			info[0]->BooleanValue()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::SetVisibility(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  	if(info.Length() > 0 && info[0]->IsInt32())
  	{
  				if(info.Length() != 1)
  		{
  			Nan::ThrowError("Too many parameters.");
  			return;
  		}
  		native->SetVisibility(
  			info[0]->Int32Value()
  		);
  		return;
  	}
  	Nan::ThrowError("Parameter mismatch");
  }
  
  void VtkPropWrap::ShallowCopy(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)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");
  }
  
  void VtkPropWrap::UseBoundsOff(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->UseBoundsOff();
  }
  
  void VtkPropWrap::UseBoundsOn(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->UseBoundsOn();
  }
  
  void VtkPropWrap::VisibilityOff(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->VisibilityOff();
  }
  
  void VtkPropWrap::VisibilityOn(const Nan::FunctionCallbackInfo<v8::Value>& info)
  {
  	VtkPropWrap *wrapper = ObjectWrap::Unwrap<VtkPropWrap>(info.Holder());
  	vtkProp *native = (vtkProp *)wrapper->native.GetPointer();
  		if(info.Length() != 0)
  	{
  		Nan::ThrowError("Too many parameters.");
  		return;
  	}
  	native->VisibilityOn();
  }
  
  