View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000908VTK(No Category)public2004-06-03 16:322004-08-17 23:23
ReporterFrançois Bertel 
Assigned ToFrançois Bertel 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000908: vtkThresholdPoints ThresholdByLower,Upper,Between
DescriptionThresholdByLower, ThresholdByUpper and ThresholdBetween have only partial test to figure out if some modification is required.

It should also test if the function pointer match
For instance, in ThresholdByLower, there should be:

if((this->ThresholdFunction!=&vtkThresholdPoints::Lower)||(this->LowerThreshold!=lower))
{
...
}

Otherwise the following scenario should fail:

vtkThresholdPoints *t=vtkThreholdPoints::New();
// the function is Upper, lower value is 0, upper
// value is 1

t->ThresholdByLower(0.5); // the function is
changed to Lower
t->ThresholdByUpper(1.0); // the function is
still Lower because the upper did not changed!
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
There are no notes attached to this issue.

 Issue History
Date Modified Username Field Change
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team