Hi All,
My program calculates scalars on vtkPolyData. So, by the following methods
a colored surface has been achieved:
command in filter (in myModuleLib):
surface->GetPointData()->SetScalars(vtkArray);
commands in filterView (in plugIn directory):
mitk::DataNode::Pointer surfaceNode = mitk::DataNode::New();
surfaceNode->SetProperty("scalar visibility",
mitk::BoolProperty::New(true));
surfaceNode->SetProperty("color mode",
mitk::BoolProperty::New(true));
Now, I'm wondering how can I achieve the following abilities:
1. watch the colored surface either on the planes view (nor just on the 3d
in the MITK's gui view)
2. write the colored surface (with the scalars) so it can be watched later
with his colors.
vtkPolyDataWriter can write the surface's scalars too?
Regards,
Miri
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users