[Ves] vesMapper ScalarVisibiltyOff()?

Wright James (NHS Greater Glasgow & Clyde) jamie.wright at nhs.net
Sat Aug 16 14:32:11 EDT 2014


Dear All,

I am attempting to show a vtkPolyData surface in an app I have created. However whenever I load in and render a .vtp file the polydata surface is colored blue, and I cannot set the color using the vesKiwiPolyDataRepresentation::SetColor() method. When this occurs in standard VTK it is because the scalar visibilty is on and vtkMapper->ScalarVisibilityOff() solves the issue. There does not seem to be a similar flag in vesMapper though. Can anyone direct me to where I need to set/unset a flag. I notice that one of the included datasets with the Kiwiviewer app, the visible-woman-hand.vtp has a white (or no lookup table set) color, so do we have to include some metadata in the .vtp files?

thanks, Jamie


********************************************************************************************************************

This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.

Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere

********************************************************************************************************************



More information about the Ves mailing list