Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
177299c6
Commit
177299c6
authored
Feb 07, 2003
by
Berk Geveci
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added GetOutput(int i) to all XML readers (used by ParaView).
parent
a7bd0e12
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
43 additions
and
6 deletions
+43
-6
IO/vtkXMLImageDataReader.cxx
IO/vtkXMLImageDataReader.cxx
+8
-1
IO/vtkXMLImageDataReader.h
IO/vtkXMLImageDataReader.h
+1
-0
IO/vtkXMLPolyDataReader.cxx
IO/vtkXMLPolyDataReader.cxx
+7
-1
IO/vtkXMLPolyDataReader.h
IO/vtkXMLPolyDataReader.h
+1
-0
IO/vtkXMLRectilinearGridReader.cxx
IO/vtkXMLRectilinearGridReader.cxx
+7
-1
IO/vtkXMLRectilinearGridReader.h
IO/vtkXMLRectilinearGridReader.h
+1
-0
IO/vtkXMLStructuredGridReader.cxx
IO/vtkXMLStructuredGridReader.cxx
+8
-1
IO/vtkXMLStructuredGridReader.h
IO/vtkXMLStructuredGridReader.h
+2
-1
IO/vtkXMLUnstructuredGridReader.cxx
IO/vtkXMLUnstructuredGridReader.cxx
+7
-1
IO/vtkXMLUnstructuredGridReader.h
IO/vtkXMLUnstructuredGridReader.h
+1
-0
No files found.
IO/vtkXMLImageDataReader.cxx
View file @
177299c6
...
...
@@ -23,7 +23,7 @@
#include "vtkPointData.h"
#include "vtkXMLDataElement.h"
vtkCxxRevisionMacro
(
vtkXMLImageDataReader
,
"1.
2
"
);
vtkCxxRevisionMacro
(
vtkXMLImageDataReader
,
"1.
3
"
);
vtkStandardNewMacro
(
vtkXMLImageDataReader
);
//----------------------------------------------------------------------------
...
...
@@ -64,6 +64,13 @@ vtkImageData* vtkXMLImageDataReader::GetOutput()
return
static_cast
<
vtkImageData
*>
(
this
->
Outputs
[
0
]);
}
//----------------------------------------------------------------------------
vtkImageData
*
vtkXMLImageDataReader
::
GetOutput
(
int
idx
)
{
return
static_cast
<
vtkImageData
*>
(
this
->
Superclass
::
GetOutput
(
idx
));
}
//----------------------------------------------------------------------------
const
char
*
vtkXMLImageDataReader
::
GetDataSetName
()
{
...
...
IO/vtkXMLImageDataReader.h
View file @
177299c6
...
...
@@ -44,6 +44,7 @@ public:
// Get/Set the reader's output.
void
SetOutput
(
vtkImageData
*
output
);
vtkImageData
*
GetOutput
();
vtkImageData
*
GetOutput
(
int
idx
);
protected:
vtkXMLImageDataReader
();
...
...
IO/vtkXMLPolyDataReader.cxx
View file @
177299c6
...
...
@@ -23,7 +23,7 @@
#include "vtkUnsignedCharArray.h"
#include "vtkCellArray.h"
vtkCxxRevisionMacro
(
vtkXMLPolyDataReader
,
"1.
1
"
);
vtkCxxRevisionMacro
(
vtkXMLPolyDataReader
,
"1.
2
"
);
vtkStandardNewMacro
(
vtkXMLPolyDataReader
);
//----------------------------------------------------------------------------
...
...
@@ -74,6 +74,12 @@ vtkPolyData* vtkXMLPolyDataReader::GetOutput()
return
static_cast
<
vtkPolyData
*>
(
this
->
Outputs
[
0
]);
}
//----------------------------------------------------------------------------
vtkPolyData
*
vtkXMLPolyDataReader
::
GetOutput
(
int
idx
)
{
return
static_cast
<
vtkPolyData
*>
(
this
->
Superclass
::
GetOutput
(
idx
));
}
//----------------------------------------------------------------------------
vtkIdType
vtkXMLPolyDataReader
::
GetNumberOfVerts
()
{
...
...
IO/vtkXMLPolyDataReader.h
View file @
177299c6
...
...
@@ -44,6 +44,7 @@ public:
// Get/Set the reader's output.
void
SetOutput
(
vtkPolyData
*
output
);
vtkPolyData
*
GetOutput
();
vtkPolyData
*
GetOutput
(
int
idx
);
// Description:
// Get the number of verts/lines/strips/polys in the output.
...
...
IO/vtkXMLRectilinearGridReader.cxx
View file @
177299c6
...
...
@@ -23,7 +23,7 @@
#include "vtkXMLDataElement.h"
#include "vtkXMLDataParser.h"
vtkCxxRevisionMacro
(
vtkXMLRectilinearGridReader
,
"1.
6
"
);
vtkCxxRevisionMacro
(
vtkXMLRectilinearGridReader
,
"1.
7
"
);
vtkStandardNewMacro
(
vtkXMLRectilinearGridReader
);
//----------------------------------------------------------------------------
...
...
@@ -66,6 +66,12 @@ vtkRectilinearGrid* vtkXMLRectilinearGridReader::GetOutput()
return
static_cast
<
vtkRectilinearGrid
*>
(
this
->
Outputs
[
0
]);
}
//----------------------------------------------------------------------------
vtkRectilinearGrid
*
vtkXMLRectilinearGridReader
::
GetOutput
(
int
idx
)
{
return
static_cast
<
vtkRectilinearGrid
*>
(
this
->
Superclass
::
GetOutput
(
idx
));
}
//----------------------------------------------------------------------------
const
char
*
vtkXMLRectilinearGridReader
::
GetDataSetName
()
{
...
...
IO/vtkXMLRectilinearGridReader.h
View file @
177299c6
...
...
@@ -44,6 +44,7 @@ public:
// Get/Set the reader's output.
void
SetOutput
(
vtkRectilinearGrid
*
output
);
vtkRectilinearGrid
*
GetOutput
();
vtkRectilinearGrid
*
GetOutput
(
int
idx
);
protected:
vtkXMLRectilinearGridReader
();
...
...
IO/vtkXMLStructuredGridReader.cxx
View file @
177299c6
...
...
@@ -22,7 +22,7 @@
#include "vtkXMLDataElement.h"
#include "vtkXMLDataParser.h"
vtkCxxRevisionMacro
(
vtkXMLStructuredGridReader
,
"1.
5
"
);
vtkCxxRevisionMacro
(
vtkXMLStructuredGridReader
,
"1.
6
"
);
vtkStandardNewMacro
(
vtkXMLStructuredGridReader
);
//----------------------------------------------------------------------------
...
...
@@ -65,6 +65,13 @@ vtkStructuredGrid* vtkXMLStructuredGridReader::GetOutput()
return
static_cast
<
vtkStructuredGrid
*>
(
this
->
Outputs
[
0
]);
}
//----------------------------------------------------------------------------
vtkStructuredGrid
*
vtkXMLStructuredGridReader
::
GetOutput
(
int
idx
)
{
return
static_cast
<
vtkStructuredGrid
*>
(
this
->
Superclass
::
GetOutput
(
idx
));
}
//----------------------------------------------------------------------------
const
char
*
vtkXMLStructuredGridReader
::
GetDataSetName
()
{
...
...
IO/vtkXMLStructuredGridReader.h
View file @
177299c6
...
...
@@ -44,7 +44,8 @@ public:
// Get/Set the reader's output.
void
SetOutput
(
vtkStructuredGrid
*
output
);
vtkStructuredGrid
*
GetOutput
();
vtkStructuredGrid
*
GetOutput
(
int
idx
);
protected:
vtkXMLStructuredGridReader
();
~
vtkXMLStructuredGridReader
();
...
...
IO/vtkXMLUnstructuredGridReader.cxx
View file @
177299c6
...
...
@@ -24,7 +24,7 @@
#include "vtkUnstructuredGrid.h"
#include "vtkXMLDataElement.h"
vtkCxxRevisionMacro
(
vtkXMLUnstructuredGridReader
,
"1.
3
"
);
vtkCxxRevisionMacro
(
vtkXMLUnstructuredGridReader
,
"1.
4
"
);
vtkStandardNewMacro
(
vtkXMLUnstructuredGridReader
);
//----------------------------------------------------------------------------
...
...
@@ -69,6 +69,12 @@ vtkUnstructuredGrid* vtkXMLUnstructuredGridReader::GetOutput()
return
static_cast
<
vtkUnstructuredGrid
*>
(
this
->
Outputs
[
0
]);
}
//----------------------------------------------------------------------------
vtkUnstructuredGrid
*
vtkXMLUnstructuredGridReader
::
GetOutput
(
int
idx
)
{
return
static_cast
<
vtkUnstructuredGrid
*>
(
this
->
Superclass
::
GetOutput
(
idx
));
}
//----------------------------------------------------------------------------
const
char
*
vtkXMLUnstructuredGridReader
::
GetDataSetName
()
{
...
...
IO/vtkXMLUnstructuredGridReader.h
View file @
177299c6
...
...
@@ -44,6 +44,7 @@ public:
// Get/Set the reader's output.
void
SetOutput
(
vtkUnstructuredGrid
*
output
);
vtkUnstructuredGrid
*
GetOutput
();
vtkUnstructuredGrid
*
GetOutput
(
int
idx
);
protected:
vtkXMLUnstructuredGridReader
();
...
...
Write
Preview
Markdown
is supported
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