Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
caaf238c
Commit
caaf238c
authored
Nov 15, 2006
by
Brian Wylie
Browse files
ENH: Added Initialize() method to vtkTable class
parent
e724f5e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Filtering/vtkTable.cxx
View file @
caaf238c
...
...
@@ -28,7 +28,7 @@
// Standard functions
//
vtkCxxRevisionMacro
(
vtkTable
,
"1.
2
"
);
vtkCxxRevisionMacro
(
vtkTable
,
"1.
3
"
);
vtkStandardNewMacro
(
vtkTable
);
//----------------------------------------------------------------------------
...
...
@@ -46,6 +46,12 @@ void vtkTable::PrintSelf(ostream &os, vtkIndent indent)
os
<<
indent
<<
"Number Of Rows: "
<<
this
->
Rows
<<
endl
;
}
void
vtkTable
::
Initialize
()
{
this
->
Superclass
::
Initialize
();
this
->
Rows
=
0
;
}
//
// Row functions
//
...
...
Filtering/vtkTable.h
View file @
caaf238c
...
...
@@ -120,6 +120,9 @@ public:
void
SetValueByName
(
vtkIdType
row
,
const
char
*
col
,
vtkVariant
value
);
//ETX
// Description:
// Initialize to an empty table.
virtual
void
Initialize
();
// Description:
// Retrieve the table from vtkInformation.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment