MCPcopy Create free account
hub / github.com/Kitware/VTK / IdentityMapper

Class IdentityMapper

Testing/Core/vtkTestUtilities.cxx:68–84  ·  view source on GitHub ↗

============================================================================

Source from the content-addressed store, hash-verified

66{
67//============================================================================
68struct IdentityMapper
69{
70 IdentityMapper(vtkDataSet* ds)
71 : Size(ds->GetNumberOfPoints())
72 {
73 }
74
75 IdentityMapper(vtkIdType size)
76 : Size(size)
77 {
78 }
79
80 static vtkIdType Map(vtkIdType id) { return id; }
81
82 bool Success = true;
83 vtkIdType Size;
84};
85
86//============================================================================
87struct DummyMapper

Callers 6

TestAbstractArrayFunction · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85
CompareFieldDataMethod · 0.85
CompareAbstractArrayMethod · 0.85

Calls

no outgoing calls

Tested by 6

TestAbstractArrayFunction · 0.68
ExecuteMethod · 0.68
ExecuteMethod · 0.68
ExecuteMethod · 0.68
CompareFieldDataMethod · 0.68
CompareAbstractArrayMethod · 0.68