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

Method ComputeBounds

Filters/General/vtkAxisAlignedReflectionFilter.cxx:64–77  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

62
63//------------------------------------------------------------------------------
64void vtkAxisAlignedReflectionFilter::ComputeBounds(vtkDataObject* input, double bounds[6])
65{
66 vtkDataSet* inputDS = vtkDataSet::SafeDownCast(input);
67 vtkCompositeDataSet* inputCD = vtkCompositeDataSet::SafeDownCast(input);
68
69 if (inputDS)
70 {
71 inputDS->GetBounds(bounds);
72 }
73 else if (inputCD)
74 {
75 inputCD->GetBounds(bounds);
76 }
77}
78
79//------------------------------------------------------------------------------
80bool vtkAxisAlignedReflectionFilter::ProcessPDC(vtkPartitionedDataSetCollection* inputPDC,

Callers 1

RequestDataMethod · 0.95

Calls 1

GetBoundsMethod · 0.45

Tested by

no test coverage detected