Section: Visualization Toolkit Rendering Classes
Points that are visible (or if the ivar SelectInvisible is on, invisible points) are passed to the output. Associated data attributes are passed to the output as well.
This filter also allows you to specify a rectangular window in display (pixel) coordinates in which the visible points must lie. This can be used as a sort of local "brushing" operation to select just data within a window.
To create an instance of class vtkSelectVisiblePoints, simply invoke its constructor as follows
obj = vtkSelectVisiblePoints
obj
is an instance of the vtkSelectVisiblePoints class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkSelectVisiblePoints = obj.NewInstance ()
vtkSelectVisiblePoints = obj.SafeDownCast (vtkObject o)
obj.SetRenderer (vtkRenderer ren)
- Specify the renderer in which the visibility computation is to be
performed.
vtkRenderer = obj.GetRenderer ()
- Set/Get the flag which enables selection in a rectangular display
region.
obj.SetSelectionWindow (int )
- Set/Get the flag which enables selection in a rectangular display
region.
int = obj.GetSelectionWindow ()
- Set/Get the flag which enables selection in a rectangular display
region.
obj.SelectionWindowOn ()
- Set/Get the flag which enables selection in a rectangular display
region.
obj.SelectionWindowOff ()
- Set/Get the flag which enables selection in a rectangular display
region.
obj.SetSelection (int , int , int , int )
- Specify the selection window in display coordinates. You must specify
a rectangular region using (xmin,xmax,ymin,ymax).
obj.SetSelection (int a[4])
- Specify the selection window in display coordinates. You must specify
a rectangular region using (xmin,xmax,ymin,ymax).
int = obj. GetSelection ()
- Specify the selection window in display coordinates. You must specify
a rectangular region using (xmin,xmax,ymin,ymax).
obj.SetSelectInvisible (int )
- Set/Get the flag which enables inverse selection; i.e., invisible points
are selected.
int = obj.GetSelectInvisible ()
- Set/Get the flag which enables inverse selection; i.e., invisible points
are selected.
obj.SelectInvisibleOn ()
- Set/Get the flag which enables inverse selection; i.e., invisible points
are selected.
obj.SelectInvisibleOff ()
- Set/Get the flag which enables inverse selection; i.e., invisible points
are selected.
obj.SetTolerance (double )
- Set/Get a tolerance to use to determine whether a point is visible. A
tolerance is usually required because the conversion from world space
to display space during rendering introduces numerical round-off.
double = obj.GetToleranceMinValue ()
- Set/Get a tolerance to use to determine whether a point is visible. A
tolerance is usually required because the conversion from world space
to display space during rendering introduces numerical round-off.
double = obj.GetToleranceMaxValue ()
- Set/Get a tolerance to use to determine whether a point is visible. A
tolerance is usually required because the conversion from world space
to display space during rendering introduces numerical round-off.
double = obj.GetTolerance ()
- Set/Get a tolerance to use to determine whether a point is visible. A
tolerance is usually required because the conversion from world space
to display space during rendering introduces numerical round-off.
bool = obj.IsPointOccluded (double x[], float zPtr)
- Tests if a point x is being occluded or not against the Z-Buffer array passed in by
zPtr. Call Initialize before calling this method.
long = obj.GetMTime ()
- Return MTime also considering the renderer.