#include "VTKViewer.h"
Go to the source code of this file.
Functions | |
void | ResetCamera (vtkRenderer *theRenderer, int theUsingZeroFocalPoint=false) |
int | ComputeVisiblePropBounds (vtkRenderer *theRenderer, double theBounds[6]) |
int | ComputeBounds (vtkActorCollection *theCollection, double theBounds[6]) |
void | ResetCameraClippingRange (vtkRenderer *theRenderer) |
bool | ComputeTrihedronSize (vtkRenderer *theRenderer, double &theNewSize, const double theSize, const double theSizeInPercents) |
bool | IsBBEmpty (vtkRenderer *theRenderer) |
bool | ComputeBBCenter (vtkRenderer *theRenderer, double theCenter[3]) |
bool | isBoundValid (double *theBounds) |
bool ComputeBBCenter | ( | vtkRenderer * | theRenderer, |
double | theCenter[3] | ||
) |
References VTK::ActorCollectionCopy::GetActors(), and isBoundValid().
int ComputeBounds | ( | vtkActorCollection * | theCollection, |
double | theBounds[6] | ||
) |
Compute the bounds of actors
bool ComputeTrihedronSize | ( | vtkRenderer * | theRenderer, |
double & | theNewSize, | ||
const double | theSize, | ||
const double | theSizeInPercents | ||
) |
Compute trihedron size.
References ComputeVisiblePropBounds().
int ComputeVisiblePropBounds | ( | vtkRenderer * | theRenderer, |
double | theBounds[6] | ||
) |
Compute the bounds of the visible props
References ComputeBounds(), and VTK::ActorCollectionCopy::GetActors().
bool IsBBEmpty | ( | vtkRenderer * | theRenderer | ) |
References VTK::ActorCollectionCopy::GetActors().
bool isBoundValid | ( | double * | theBounds | ) |
Check that the given bounding box is valid, i.e each min bound < each max bound
void ResetCamera | ( | vtkRenderer * | theRenderer, |
int | theUsingZeroFocalPoint | ||
) |
References ComputeVisiblePropBounds(), Plot2d::Dot, and ResetCameraClippingRange().
void ResetCameraClippingRange | ( | vtkRenderer * | theRenderer | ) |
References ComputeVisiblePropBounds().