[vtkusers] vtkDataArray question..

K.R.Subramanian krs at cs.uncc.edu
Thu May 30 14:00:41 EDT 2002


Looking at the subclasses of vtkDataArray, I notice
the call

SetComponent ()

always sends a float as the data value.

I thought it should be sending a char, short, int, float,  or double
depending on the type of array.  Set(Get)Value() does the right thing. That
brings me to my second question.
 The call  SetActiveComponent() is gone. Is there a way to set the current
component at all?  If not,  which component is affected by Set(Get)Value()  ?

Thanks.

    -- krs

--
K.R.Subramanian                        Phone: (704) 687-4872
Department of Computer Science         FAX:   (704) 687-4893
UNC Charlotte, CARC 311                Email: krs at cs.uncc.edu
Charlotte, NC 28223-0001               Web: http://www.cs.uncc.edu/~krs






More information about the vtkusers mailing list