vtkDistanceToCamera

Section: Visualization Toolkit Rendering Classes

Usage

This filter adds a double array containing the distance from each point to the camera. If Scaling is on, it will use the values in the input array to process in order to scale the size of the points. ScreenSize sets the size in screen pixels that you would want a rendered rectangle at that point to be, if it was scaled by the output array.

To create an instance of class vtkDistanceToCamera, simply invoke its constructor as follows

  obj = vtkDistanceToCamera

Methods

The class vtkDistanceToCamera has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkDistanceToCamera class.