Version: 6.3.1
Functions

src/VTKViewer/VTKViewer_Utilities.h File Reference

#include "VTKViewer.h"
Include dependency graph for VTKViewer_Utilities.h:

Go to the source code of this file.

Functions

void ResetCamera (vtkRenderer *theRenderer, int theUsingZeroFocalPoint=false)
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])

Function Documentation

void ResetCamera ( vtkRenderer *  theRenderer,
int  theUsingZeroFocalPoint 
)
See also:
vtkRenderer.ResetCamera(vtkFloatingPointType bounds[6]) method

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)
See also:
vtkRenderer.ResetCameraClippingRange(vtkFloatingPointType bounds[6]) method
bool ComputeTrihedronSize ( vtkRenderer *  theRenderer,
vtkFloatingPointType theNewSize,
const vtkFloatingPointType  theSize,
const vtkFloatingPointType  theSizeInPercents 
)

Compute trihedron size.

References ComputeVisiblePropBounds().

bool IsBBEmpty ( vtkRenderer *  theRenderer)
bool ComputeBBCenter ( vtkRenderer *  theRenderer,
vtkFloatingPointType  theCenter[3] 
)
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS