[vtkusers] Upgrading to vtk4.0?
Mahmoud El-Banna
elbanna_m at hotmail.com
Sun May 26 10:31:05 EDT 2002
i was trying to Upgrade an old version code the idea of it is simply
represented by the following
i want to get the scalar of an integer value and assigin it to another value
int m_bright;
int m_value;
vtkScalars scalar;
m_bright =scalar->GetScalar(m_value);
what i did was
int m_bright;
float* m_value; //converting the integer value to float* throughfunction
vtkFloatArray scalar;
m_bright =scalar->GetTuple(m_value);
but GetTuple return float* which can't be assigned to integer(m_bright)
any help will be appreciated
Mahmoud El-Banna
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
More information about the vtkusers
mailing list