Skip to content
Snippets Groups Projects
Commit 932b6313 authored by Carson Brownlee's avatar Carson Brownlee Committed by David E. DeMarle
Browse files

adding tetmapper bindings for factory

parent 2a60661f
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ set(Module_SRCS
vtkOSPRayPolyDataMapperNode.cxx
vtkOSPRayVolumeMapper.cxx
vtkOSPRayVolumeMapperNode.cxx
vtkOSPRayTetrahedraMapperNode.cxx
vtkOSPRayRendererNode.cxx
vtkOSPRayViewNodeFactory.cxx
vtkOSPRayWindowNode.cxx
......
......@@ -23,6 +23,7 @@
#include "vtkOSPRayPolyDataMapperNode.h"
#include "vtkOSPRayVolumeMapperNode.h"
#include "vtkOSPRayVolumeNode.h"
#include "vtkOSPRayTetrahedraMapperNode.h"
vtkViewNode *ren_maker()
{
......@@ -71,6 +72,13 @@ vtkViewNode *cpd_maker()
return vn;
}
vtkViewNode *tetm_maker()
{
vtkOSPRayTetrahedraMapperNode *vn = vtkOSPRayTetrahedraMapperNode::New();
return vn;
}
//============================================================================
vtkStandardNewMacro(vtkOSPRayViewNodeFactory);
......@@ -92,6 +100,8 @@ vtkOSPRayViewNodeFactory::vtkOSPRayViewNodeFactory()
this->RegisterOverride("vtkOSPRayVolumeMapper", vm_maker);
this->RegisterOverride("vtkOpenGLGPUVolumeRayCastMapper", vm_maker);
this->RegisterOverride("vtkCompositePolyDataMapper2", cpd_maker);
this->RegisterOverride("vtkProjectedTetrahedraMapper", tetm_maker);
this->RegisterOverride("vtkUnstructuredGridVolumeRayCastMapper", tetm_maker);
}
//----------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment