Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
extraction_informations_forme_3D
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Astrid Beyer
extraction_informations_forme_3D
Commits
50dd94f7
Commit
50dd94f7
authored
1 year ago
by
Astrid Beyer
Browse files
Options
Downloads
Patches
Plain Diff
feat: translate in dot file
parent
c320a040
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vpt2dot.cxx
+3
-1
3 additions, 1 deletion
vpt2dot.cxx
vtkPolyDataToGraph.cxx
+5
-0
5 additions, 0 deletions
vtkPolyDataToGraph.cxx
with
8 additions
and
1 deletion
vpt2dot.cxx
+
3
−
1
View file @
50dd94f7
...
...
@@ -5,6 +5,7 @@
#include
"vtkPolyDataToGraph.h"
#include
"vtkBoostGraphAdapter.h"
#include
<vtkNew.h>
#include
<boost/graph/graphviz.hpp>
#include
<vtkCallbackCommand.h>
...
...
@@ -72,7 +73,8 @@ int main(int argc, char *argv[])
reader
->
Update
();
// VTK_CREATE(vtkPolyDataToGraph, filter);
vtkSmartPointer
<
vtkPolyDataToGraph
>
filter
;
// vtkSmartPointer<vtkPolyDataToGraph> filter;
vtkNew
<
vtkPolyDataToGraph
>
filter
;
filter
->
SetInputConnection
(
0
,
reader
->
GetOutputPort
());
filter
->
AddObserver
(
vtkCommand
::
AnyEvent
,
eventCallbackVTK
);
filter
->
Update
();
...
...
This diff is collapsed.
Click to expand it.
vtkPolyDataToGraph.cxx
+
5
−
0
View file @
50dd94f7
...
...
@@ -42,6 +42,11 @@ int vtkMeshToGraph::FillOutputPortInformation(
}
*/
vtkPolyDataToGraph
*
vtkPolyDataToGraph
::
New
()
{
return
new
vtkPolyDataToGraph
;
}
//----------------------------------------------------------------------------
int
vtkPolyDataToGraph
::
FillInputPortInformation
(
int
vtkNotUsed
(
port
),
vtkInformation
*
info
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment