View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015835VTK(No Category)public2015-11-13 09:482016-08-12 09:55
ReporterLuc Habert 
Assigned ToSujin Philip 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0015835: vtkImplicitPlaneWidget2: tubing error
DescriptionWhen the plane is incident to one of the vertices of the box, the cutter produces two points for this vertex, leading to an error during the tubing:

Generic Warning: In F:\lhabert\dev\VTK-6.3.0\Common\DataModel\vtkPolyLine.cxx, line 106
Coincident points in polyline...can't compute normals

Warning: In F:\lhabert\dev\VTK-6.3.0\Filters\Core\vtkTubeFilter.cxx, line 243
vtkTubeFilter (0000000020976ED0): Could not generate normals for line. Skipping to next.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0035449)
Luc Habert (reporter)
2015-11-13 09:49
edited on: 2015-11-13 10:22

Here is a sample code that triggers the error:

    vtkNew<vtkRenderWindow> window;
    vtkNew<vtkRenderer> renderer;

    window->AddRenderer(renderer.GetPointer());
    vtkNew<vtkRenderWindowInteractor> iren;
    iren->SetRenderWindow(window.GetPointer());
    window->SetSize(600, 600);
    iren->Initialize();

    vtkNew<vtkImplicitPlaneWidget2> wid;
    vtkImplicitPlaneRepresentation *rep = static_cast<vtkImplicitPlaneRepresentation*>(wid->GetRepresentation());
    wid->SetInteractor(iren.GetPointer());
    wid->EnabledOn();
    
    double box[6] = { -54675.000000000000, -54675.000000000000 + 328050.00000000000, -54675.000000000000, -54675.000000000000 + 328050.00000000000, -14234.213333129883 + 20845.697479248047 };
    rep->PlaceWidget(box);

    rep->SetNormal(-0.46107891854792293, 0.29238370636160577, -0.83780546615842055);
    rep->SetOrigin(273374.99999988079, 273374.99999988079, -14234.212890505791);
    renderer->ResetCamera();
    iren->Start();

(0035455)
Luc Habert (reporter)
2015-11-17 06:49

inserting a vtkCleanPolyData between Edges and EdgesTuber fixes this issue
(0035458)
Joachim Pouderoux (developer)
2015-11-18 05:36
edited on: 2015-11-18 05:36

Please refer to https://gitlab.kitware.com/vtk/vtk/blob/master/CONTRIBUTING.md [^] if you wish to propose a patch for this issue.

(0037434)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2015-11-13 09:48 Luc Habert New Issue
2015-11-13 09:49 Luc Habert Note Added: 0035449
2015-11-13 10:22 Luc Habert Note Edited: 0035449
2015-11-17 06:49 Luc Habert Note Added: 0035455
2015-11-18 05:36 Joachim Pouderoux Note Added: 0035458
2015-11-18 05:36 Joachim Pouderoux Note Edited: 0035458
2016-07-06 10:19 Sujin Philip Assigned To => Sujin Philip
2016-08-12 09:55 Kitware Robot Note Added: 0037434
2016-08-12 09:55 Kitware Robot Status backlog => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team