Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ben Boeckel
Xdmf
Commits
7522f14c
Commit
7522f14c
authored
Mar 29, 2011
by
Sebastien Jourdain
Committed by
David Partyka
Mar 29, 2011
Browse files
Adding new GetSIL method on vtkXdmfReader.
parent
72b3c4f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
vtk/vtkXdmfReader.cxx
View file @
7522f14c
...
...
@@ -582,4 +582,8 @@ void vtkXdmfReader::PrintSelf(ostream& os, vtkIndent indent)
{
this
->
Superclass
::
PrintSelf
(
os
,
indent
);
}
//----------------------------------------------------------------------------
vtkGraph
*
vtkXdmfReader
::
GetSIL
()
{
return
this
->
XdmfDocument
->
GetActiveDomain
()
->
GetSIL
();
}
vtk/vtkXdmfReader.h
View file @
7522f14c
...
...
@@ -37,6 +37,7 @@
class
vtkXdmfArraySelection
;
class
vtkXdmfDocument
;
class
vtkGraph
;
class
VTK_EXPORT
vtkXdmfReader
:
public
vtkDataReader
{
...
...
@@ -132,6 +133,11 @@ public:
// Every time the SIL is updated a this will return a different value.
vtkGetMacro
(
SILUpdateStamp
,
int
);
// Description:
// SIL describes organization of/relationships between classifications
// eg. blocks/materials/hierarchies.
virtual
vtkGraph
*
GetSIL
();
//BTX
protected:
vtkXdmfReader
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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