View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001111VTK(No Category)public2004-08-23 11:222011-01-13 17:00
ReporterMathieu Malaterre 
Assigned ToMathieu Malaterre 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001111: Removing curves from vtkXYPlotActor
DescriptionBut I have found troubles when I want to remove a curve. I have found a bug on vtkXYPlotActor class on the method RemoveInput that may need to be fixed. I attach the modified class that fix this problem.

Regards,
Emiliano
TagsNo tags attached.
Project
Type
Attached Filespatch file icon xy.patch [^] (1,414 bytes) 1969-12-31 19:00 [Show Content]

 Relationships

  Notes
(0001398)
Mathieu Malaterre (developer)
2004-08-23 16:43

These lines reproduce the problem on tcl.

vtkRenderWindow rw
vtkRenderer re
vtkXYPlotActor pa

vtkImageSinusoidSource cosSrc
cosSrc SetWholeExtent 0 255 0 0 0 0
cosSrc SetPeriod 256

vtkImageSinusoidSource sinSrc
sinSrc SetWholeExtent 0 255 0 0 0 0
sinSrc SetPeriod 256
sinSrc SetPhase 1.5708

pa AddInput [cosSrc GetOutput]
pa AddInput [sinSrc GetOutput]

#~ try uncommenting one of these lines
#~ pa RemoveInput [sinSrc GetOutput]
#~ pa RemoveInput [cosSrc GetOutput]

re AddActor pa
rw AddRenderer re
rw Render
(0001399)
Mathieu Malaterre (developer)
2004-08-24 10:02

$ cvs ci /opt/VTK/VTK/Hybrid
Checking in vtkXYPlotActor.cxx;
/cvsroot/VTK/VTK/Hybrid/vtkXYPlotActor.cxx,v <-- vtkXYPlotActor.cxx
new revision: 1.54; previous revision: 1.53
done

 Issue History
Date Modified Username Field Change
2010-11-29 17:59 Mathieu Malaterre Source_changeset_attached => VTK master 14277412
2011-01-13 17:00 Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00 Source_changeset_attached => VTK master 020ef709
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team