VTK
|
calculates distance from points to the camera. More...
#include <vtkDistanceToCamera.h>
calculates distance from points to the camera.
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.
Definition at line 39 of file vtkDistanceToCamera.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 43 of file vtkDistanceToCamera.h.
vtkDistanceToCamera::vtkDistanceToCamera | ( | ) | [protected] |
vtkDistanceToCamera::~vtkDistanceToCamera | ( | ) | [protected] |
static vtkDistanceToCamera* vtkDistanceToCamera::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
static int vtkDistanceToCamera::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
virtual int vtkDistanceToCamera::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
static vtkDistanceToCamera* vtkDistanceToCamera::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkDistanceToCamera::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented from vtkPolyDataAlgorithm.
void vtkDistanceToCamera::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkPolyDataAlgorithm.
void vtkDistanceToCamera::SetRenderer | ( | vtkRenderer * | ren | ) |
The renderer which will ultimately render these points.
virtual vtkRenderer* vtkDistanceToCamera::GetRenderer | ( | ) | [virtual] |
The renderer which will ultimately render these points.
virtual void vtkDistanceToCamera::SetScreenSize | ( | double | ) | [virtual] |
The desired screen size obtained by scaling glyphs by the distance array. It assumes the glyph at each point will be unit size.
virtual double vtkDistanceToCamera::GetScreenSize | ( | ) | [virtual] |
The desired screen size obtained by scaling glyphs by the distance array. It assumes the glyph at each point will be unit size.
virtual void vtkDistanceToCamera::SetScaling | ( | bool | ) | [virtual] |
Whether to scale the distance by the input array to process.
virtual bool vtkDistanceToCamera::GetScaling | ( | ) | [virtual] |
Whether to scale the distance by the input array to process.
virtual void vtkDistanceToCamera::ScalingOn | ( | ) | [virtual] |
Whether to scale the distance by the input array to process.
virtual void vtkDistanceToCamera::ScalingOff | ( | ) | [virtual] |
Whether to scale the distance by the input array to process.
virtual unsigned long vtkDistanceToCamera::GetMTime | ( | ) | [virtual] |
The modified time of this filter.
Reimplemented from vtkObject.
int vtkDistanceToCamera::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
vtkRenderer* vtkDistanceToCamera::Renderer [protected] |
Definition at line 78 of file vtkDistanceToCamera.h.
double vtkDistanceToCamera::ScreenSize [protected] |
Definition at line 79 of file vtkDistanceToCamera.h.
bool vtkDistanceToCamera::Scaling [protected] |
Definition at line 80 of file vtkDistanceToCamera.h.
int vtkDistanceToCamera::LastRendererSize[2] [protected] |
Definition at line 81 of file vtkDistanceToCamera.h.
double vtkDistanceToCamera::LastCameraPosition[3] [protected] |
Definition at line 82 of file vtkDistanceToCamera.h.
double vtkDistanceToCamera::LastCameraFocalPoint[3] [protected] |
Definition at line 83 of file vtkDistanceToCamera.h.
double vtkDistanceToCamera::LastCameraViewUp[3] [protected] |
Definition at line 84 of file vtkDistanceToCamera.h.
double vtkDistanceToCamera::LastCameraParallelScale [protected] |
Definition at line 85 of file vtkDistanceToCamera.h.