[vtk-developers] Examining vtkPolyData in GDB
Ronald Römer
rroemer at gmail.com
Sat Dec 8 18:07:13 EST 2018
Hello.
I have a core dump and I want to find the coordinates of a specific
point. How could I do this? From this point I don't know where to find them:
(gdb) p *modPdA->Points->Data
$13 = (vtkDoubleArray) {
<vtkAOSDataArrayTemplate<double>> = {
<vtkGenericDataArray<vtkAOSDataArrayTemplate<double>, double>> = {
<vtkDataArray> = {
<vtkAbstractArray> = {
<vtkObject> = {
<vtkObjectBase> = {
_vptr.vtkObjectBase = 0x7f3f002f20b8 <vtable for
vtkDoubleArray+16>,
ReferenceCount = {
<vtk::atomic::detail::IntegralType<int>> = {
c = {<No data fields>}
},
members of vtkAtomic<int>:
Atomic = 1
},
WeakPointers = 0x0
},
members of vtkObject:
Debug = false,
MTime = {
ModifiedTime = 15358794
},
SubjectHelper = 0x0
},
members of vtkAbstractArray:
Size = 237615,
MaxId = 130955,
NumberOfComponents = 3,
MaxDiscreteValues = 32,
Name = 0x5605d333cc50 "Points",
RebuildArray = false,
Information = 0x0,
ComponentNames = 0x0
},
members of vtkDataArray:
LookupTable = 0x0,
Range = {0, 0},
FiniteRange = {0, 0},
FiniteInformation = 0x0
},
members of vtkGenericDataArray<vtkAOSDataArrayTemplate<double>,
double>:
LegacyTuple = std::vector of length 3, capacity 3 =
{-0.031233360353935744, -0.49638796694517223, 0.051219066321620647},
LegacyValueRange = std::vector of length 0, capacity 0,
Lookup = {
AssociatedArray = 0x5605d64cdc40,
SortedArray = 0x0,
FirstValue = 0x0,
SortedArraySize = 0
}
},
members of vtkAOSDataArrayTemplate<double>:
Buffer = 0x5605d4a11350
}, <No data fields>}
--
Viele Grüße
Ronald Römer
More information about the vtk-developers
mailing list