[vtkusers] Just trying to draw a simple volume and need help.
    Prabhu Ramachandran 
    prabhu at aero.iitm.ernet.in
       
    Tue Nov  5 22:00:07 EST 2002
    
    
  
>>>>> "AL" == Alex Lear <alear at cns.montana.edu> writes:
    AL> vtkUnsignedCharArray *Scalars = vtkUnsignedCharArray::New();
    Scalars-> SetNumberOfValues (1000000);
InsertNextValue appends the value to the end of the list.  So, either
comment the above line ore replace
    Scalars-> InsertNextValue(128);
with
    Scalars-> InsertValue(i, 128);
cheers,
prabhu
    
    
More information about the vtkusers
mailing list