[vtkusers] Edges and Solids

Sean McInerney seanm at nmr.mgh.harvard.edu
Thu Jul 29 12:21:30 EDT 2004


vtk at scil.sinp.msu.ru wrote:
> On Thu, 29 Jul 2004, Sean McInerney wrote:
> 
>>> what about colors for each cell of such an (all-in-one) actor?
>>> or color is the property of the actor as whole?
>>
>> The all-in-one actor could have cell scalars used with a lookup table 
>> for coloring. As far as I know, this will only affect the front faces. 
>> The only way to affect the back faces is via the actor's BackProperty.
> 
> hm... not so comfortable. these fact cause to use one more body, with 
> own properties, that is shifted from the main body. not so bad, but why 
> we need additional elements....
> 

I am not sure what you mean here. The "color by numbers" approach should 
not have too much performance overhead. It will incur the additional 
memory requirement of a Scalars array in the CellData as well as a 
vtkLookupTable, but I thought you wanted speed ;-)



More information about the vtkusers mailing list