[vtkusers] Is this a bug of vtkSelectPolyData?

pnt1614 minpu.code at gmail.com
Mon May 14 01:24:54 EDT 2018


I load a stl 3D model and click many points to form a closed loop. After
that, I use the vtkSelectPolyData to extract a part inside this loop but in
some cases the result is empty. The un-selected region is also empty. This
error occurs in some cases but I want to know the reason. Is there anyone
knows how to debug this problem?

// Output in the console
--------Loop (vtkSelectPolyData)-----------
  Debug: On
  Modified Time: 47630
  Reference Count: 2
  Registered Events: (none)
  Executive: 0B2F6C50
  ErrorCode: No error
  Information: 0B48C650
  AbortExecute: Off
  Progress: 1
  Progress Text: (None)
  Generate Unselected Output: On
  Inside Mode: InsideSmallestRegion
  Closest Point: (0, 0, 0)
  Generate Selection Scalars: Off
  Inside Out: Off
  Loop of 18points defined

--------Select-----------
     Debug: Off
     Modified Time: 47773
     Reference Count: 1
     Registered Events: (none)
     Information: 0B48C4D0
     Data Released: False
     Global Release Data: Off
     UpdateTime: 48488
     Field Data:
       Debug: Off
       Modified Time: 47763
       Reference Count: 1
       Registered Events: (none)
       Number Of Arrays: 0
       Number Of Components: 0
       Number Of Tuples: 0
     Number Of Points: 0
     Number Of Cells: 0
     Cell Data:
       Debug: Off
       Modified Time: 47771
       Reference Count: 1
       Registered Events:
         Registered Observers:
           vtkObserver (0B3110E8)
             Event: 33
             EventName: ModifiedEvent
             Command: 0B48BF60
             Priority: 0
             Tag: 1
       Number Of Arrays: 0
       Number Of Components: 0
       Number Of Tuples: 0
       Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )
       Interpolate Flags: ( 1 1 1 1 1 0 0 1 )
       Pass Through Flags: ( 1 1 1 1 1 1 1 1 )
       Scalars: (none)
       Vectors: (none)
       Normals: (none)
       TCoords: (none)
       Tensors: (none)
       GlobalIds: (none)
       PedigreeIds: (none)
       EdgeFlag: (none)
     Point Data:
       Debug: Off
       Modified Time: 47773
       Reference Count: 1
       Registered Events:
         Registered Observers:
           vtkObserver (0B310D08)
             Event: 33
             EventName: ModifiedEvent
             Command: 0B48BF60
             Priority: 0
             Tag: 1
       Number Of Arrays: 0
       Number Of Components: 0
       Number Of Tuples: 0
       Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )
       Interpolate Flags: ( 1 1 1 1 1 0 0 1 )
       Pass Through Flags: ( 1 1 1 1 1 1 1 1 )
       Scalars: (none)
       Vectors: (none)
       Normals: (none)
       TCoords: (none)
       Tensors: (none)
       GlobalIds: (none)
       PedigreeIds: (none)
       EdgeFlag: (none)
     Bounds:
       Xmin,Xmax: (1, -1)
       Ymin,Ymax: (1, -1)
       Zmin,Zmax: (1, -1)
     Compute Time: 48515
     Number Of Points: 0
     Point Coordinates: 00000000
     Locator: 00000000
     Number Of Vertices: 0
     Number Of Lines: 0
     Number Of Polygons: 0
     Number Of Triangle Strips: 0
     Number Of Pieces: 1
     Piece: 0
     Ghost Level: 0

--------Unselect-----------
     Debug: Off
     Modified Time: 47817
     Reference Count: 1
     Registered Events: (none)
     Information: 0B48C710
     Data Released: False
     Global Release Data: Off
     UpdateTime: 48489
     Field Data:
       Debug: Off
       Modified Time: 47807
       Reference Count: 1
       Registered Events: (none)
       Number Of Arrays: 0
       Number Of Components: 0
       Number Of Tuples: 0
     Number Of Points: 0
     Number Of Cells: 0
     Cell Data:
       Debug: Off
       Modified Time: 47815
       Reference Count: 1
       Registered Events:
         Registered Observers:
           vtkObserver (0B30FBE8)
             Event: 33
             EventName: ModifiedEvent
             Command: 0B48C7D0
             Priority: 0
             Tag: 1
       Number Of Arrays: 0
       Number Of Components: 0
       Number Of Tuples: 0
       Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )
       Interpolate Flags: ( 1 1 1 1 1 0 0 1 )
       Pass Through Flags: ( 1 1 1 1 1 1 1 1 )
       Scalars: (none)
       Vectors: (none)
       Normals: (none)
       TCoords: (none)
       Tensors: (none)
       GlobalIds: (none)
       PedigreeIds: (none)
       EdgeFlag: (none)
     Point Data:
       Debug: Off
       Modified Time: 47817
       Reference Count: 1
       Registered Events:
         Registered Observers:
           vtkObserver (0B311588)
             Event: 33
             EventName: ModifiedEvent
             Command: 0B48C7D0
             Priority: 0
             Tag: 1
       Number Of Arrays: 0
       Number Of Components: 0
       Number Of Tuples: 0
       Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )
       Interpolate Flags: ( 1 1 1 1 1 0 0 1 )
       Pass Through Flags: ( 1 1 1 1 1 1 1 1 )
       Scalars: (none)
       Vectors: (none)
       Normals: (none)
       TCoords: (none)
       Tensors: (none)
       GlobalIds: (none)
       PedigreeIds: (none)
       EdgeFlag: (none)
     Bounds:
       Xmin,Xmax: (1, -1)
       Ymin,Ymax: (1, -1)
       Zmin,Zmax: (1, -1)
     Compute Time: 48516
     Number Of Points: 0
     Point Coordinates: 00000000
     Locator: 00000000
     Number Of Vertices: 0
     Number Of Lines: 0
     Number Of Polygons: 0
     Number Of Triangle Strips: 0
     Number Of Pieces: 1
     Piece: 0
     Ghost Level: 0





--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list