View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001002VTK(No Category)public2004-07-25 14:442011-01-13 17:00
Reporterovi 
Assigned ToMathieu Malaterre 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001002: Wrong doc string for vtkDataArray::Initialize
DescriptionIn file vtkDataArray.h, method Initialize() appears to have the same doc string as Allocate.
The doc string in vtkDataArrayTemplate.h is correct.

--- vtkDataArray.h ---
// Description:
// Allocate memory for this array. Delete old storage only if necessary.
// Note that ext is no longer used.
virtual int Allocate(vtkIdType sz, vtkIdType ext=1000) = 0;
virtual void Initialize() = 0;
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0001381)
Mathieu Malaterre (developer)
2004-08-17 03:52

$ cvs dif /opt/VTK/Common
Index: vtkDataArray.h
===================================================================
RCS file: /cvsroot/VTK/VTK/Common/vtkDataArray.h,v
retrieving revision 1.56
diff -u -3 -p -r1.56 vtkDataArray.h
--- a/vtkDataArray.h 1 Jun 2004 21:02:44 -0000 1.56
+++ b/vtkDataArray.h 17 Aug 2004 07:50:59 -0000
@@ -60,6 +60,9 @@ public:
   // Allocate memory for this array. Delete old storage only if necessary.
   // Note that ext is no longer used.
   virtual int Allocate(vtkIdType sz, vtkIdType ext=1000) = 0;
+
+ // Description:
+ // Release storage and reset array to initial state.
   virtual void Initialize() = 0;

   // Description:

 Issue History
Date Modified Username Field Change
2010-11-29 17:59 Mathieu Malaterre Source_changeset_attached => VTK master b17281c4
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