Hi,

I'm trying to use SplineVtkMapper3D for PointSet. The code is like this:


mitk::SplineVtkMapper3D::Pointer mapper=mitk::SplineVtkMapper3D::New();

pointSetNode->SetMapper(mitk::BaseRenderer::Standard3D,mapper);



The error is as below:

============================================================================

In file included from 
/home/hongzhi/SourceCode/MITK/Modules/Core/include/mitkCoreServices.h:25:0,
                 from 
/home/hongzhi/SourceCode/MITK/Modules/Core/include/mitkVtkMapper.h:28,
                 from 
/home/hongzhi/SourceCode/MITK/Modules/Core/include/mitkPointSetVtkMapper3D.h:22,
                 from 
/home/hongzhi/SourceCode/MITK/Modules/MapperExt/include/mitkSplineVtkMapper3D.h:21,
                 from 
/home/hongzhi/SimVascular/SimVascular3/Code/Applications/PathPlanning/svPathCreate.cxx:17:
/home/hongzhi/SourceCode/MITK/Modules/CppMicroServices/core/include/usGetModuleContext.h:27:2:
 error: #error Missing preprocessor define US_MODULE_NAME
 #error Missing preprocessor define US_MODULE_NAME
===============================================================================


I added "#define US_MODULE_NAME somename" in my source file to avoid the error 
above. As I added points, I can see the points on 2D windows, but nothing on 3D 
window.

Can I get some suggestion about how to use SplineVtkMapper3D for pointsets and 
avoid the US_MODULE_NAME issue as above?

Thanks,

Hongzhi
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to