Notes |
|
(0027900)
|
Arno Mayrhofer
|
2012-01-05 03:38
|
|
I can confirm that changing VTK/Graphics/vtkThreshold.cxx:40 from
this->PointsDataType = VTK_FLOAT;
to
this->PointsDataType = VTK_DOUBLE;
fixes the issue. It would be nice if this could be included in the next release. |
|
|
(0027901)
|
Robert Maynard
|
2012-01-05 13:51
|
|
I would expect the correct solution is that by default the threshold points inherit the data type of the input DataSet. |
|
|
(0027904)
|
Arno Mayrhofer
|
2012-01-06 02:12
|
|
Yeah you are right. I didn't know how to do this though and unfortunately lack the time to look into it any deeper. |
|
|
(0027994)
|
yifei wu
|
2012-01-27 14:44
|
|
Arno, the code you changed is the default constructor. I believe in order to get it for double, you have to manually invoke
// Description:
// Set the data type of the output points (See the data types defined in
// vtkType.h). The default data type is float.
void SetPointsDataTypeToDouble() { this->SetPointsDataType( VTK_DOUBLE ); }
void SetPointsDataTypeToFloat() { this->SetPointsDataType( VTK_FLOAT ); }
Is there a method to id the datatype? If so, we can probably automatically overwrite the default. |
|
|
(0038120)
|
Kitware Robot
|
2016-08-12 09:59
|
|
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page. |
|