posted by Julien Forest at Jun 23, 2006 6:20 AM
Quote
For vectors, the value to color conversion can be done on the basis of components or magnitude of vectors. This choice is done as folow, through JyConsole:
To set to components based conversion
and to choose the component of the vector used for the conversion
To set to a magnitude based conversion
REMARK: In the current version of Cassandra, the min-max values of the color bar are set on the 1st component be default, and it is generally needed to update them manually.Julien (Artenum)
cassandra.getPipeLineManager().getLookupTableList().getElementAt(0).getVtkObject().SetVectorModeToComponent()
cassandra.getPipeLineManager().getLookupTableList().getElementAt(0).getVtkObject().SetVectorComponent(1)
cassandra.getPipeLineManager().getLookupTableList().getElementAt(0).getVtkObject().SetVectorModeToMagnitude()