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

Method GetRenderedBounds

Rendering/Annotation/vtkCubeAxesActor.cxx:2795–2804  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2793
2794//------------------------------------------------------------------------------
2795void vtkCubeAxesActor::GetRenderedBounds(double* b)
2796{
2797 vtkBoundingBox bbox(this->GetBounds()); // Data bounds
2798
2799 // Make a heuristic on the final bounds that embed test labels
2800 // Just inflate the box based on its max length
2801 bbox.Inflate(bbox.GetMaxLength());
2802
2803 bbox.GetBounds(b);
2804}
2805
2806//------------------------------------------------------------------------------
2807double* vtkCubeAxesActor::GetRenderedBounds()

Callers

nothing calls this directly

Calls 3

GetMaxLengthMethod · 0.80
GetBoundsMethod · 0.45
InflateMethod · 0.45

Tested by

no test coverage detected