#include "VTKViewer_Utilities.h"#include "VTKViewer_Actor.h"#include "VTKViewer_Algorithm.h"#include <algorithm>#include <vtkMath.h>#include <vtkCamera.h>#include <vtkRenderer.h>#include <vtkRenderWindow.h>
Functions | |
| void | ResetCamera (vtkRenderer *theRenderer, int theUsingZeroFocalPoint) |
| int | ComputeVisiblePropBounds (vtkRenderer *theRenderer, vtkFloatingPointType theBounds[6]) |
| void | ResetCameraClippingRange (vtkRenderer *theRenderer) |
| bool | ComputeTrihedronSize (vtkRenderer *theRenderer, vtkFloatingPointType &theNewSize, const vtkFloatingPointType theSize, const vtkFloatingPointType theSizeInPercents) |
| bool | IsBBEmpty (vtkRenderer *theRenderer) |
| bool | ComputeBBCenter (vtkRenderer *theRenderer, vtkFloatingPointType theCenter[3]) |
| void ResetCamera | ( | vtkRenderer * | theRenderer, |
| int | theUsingZeroFocalPoint | ||
| ) |
References ComputeVisiblePropBounds(), Plot2d.Dot, and ResetCameraClippingRange().
| int ComputeVisiblePropBounds | ( | vtkRenderer * | theRenderer, |
| vtkFloatingPointType | theBounds[6] | ||
| ) |
Compute the bounds of the visible props
References VTK.ActorCollectionCopy.GetActors().
| void ResetCameraClippingRange | ( | vtkRenderer * | theRenderer | ) |
| bool ComputeTrihedronSize | ( | vtkRenderer * | theRenderer, |
| vtkFloatingPointType & | theNewSize, | ||
| const vtkFloatingPointType | theSize, | ||
| const vtkFloatingPointType | theSizeInPercents | ||
| ) |
Compute trihedron size.
References ComputeVisiblePropBounds().
| bool IsBBEmpty | ( | vtkRenderer * | theRenderer | ) |
References VTK.ActorCollectionCopy.GetActors().
| bool ComputeBBCenter | ( | vtkRenderer * | theRenderer, |
| vtkFloatingPointType | theCenter[3] | ||
| ) |
References VTK.ActorCollectionCopy.GetActors().