VTK
|
generate a 3D cursor representation More...
#include <vtkCursor3D.h>
Inherits vtkPolyDataAlgorithm.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkCursor3D * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkPolyData * | GetFocus () |
void | SetModelBounds (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax) |
void | SetModelBounds (double bounds[6]) |
virtual double * | GetModelBounds () |
virtual void | GetModelBounds (double data[6]) |
void | SetFocalPoint (double x[3]) |
void | SetFocalPoint (double x, double y, double z) |
virtual double * | GetFocalPoint () |
virtual void | GetFocalPoint (double data[3]) |
virtual void | SetOutline (int) |
virtual int | GetOutline () |
virtual void | OutlineOn () |
virtual void | OutlineOff () |
virtual void | SetAxes (int) |
virtual int | GetAxes () |
virtual void | AxesOn () |
virtual void | AxesOff () |
virtual void | SetXShadows (int) |
virtual int | GetXShadows () |
virtual void | XShadowsOn () |
virtual void | XShadowsOff () |
virtual void | SetYShadows (int) |
virtual int | GetYShadows () |
virtual void | YShadowsOn () |
virtual void | YShadowsOff () |
virtual void | SetZShadows (int) |
virtual int | GetZShadows () |
virtual void | ZShadowsOn () |
virtual void | ZShadowsOff () |
virtual void | SetTranslationMode (int) |
virtual int | GetTranslationMode () |
virtual void | TranslationModeOn () |
virtual void | TranslationModeOff () |
virtual void | SetWrap (int) |
virtual int | GetWrap () |
virtual void | WrapOn () |
virtual void | WrapOff () |
void | AllOn () |
void | AllOff () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkCursor3D * | SafeDownCast (vtkObjectBase *o) |
static vtkCursor3D * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkCursor3D () | |
~vtkCursor3D () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkPolyData * | Focus |
double | ModelBounds [6] |
double | FocalPoint [3] |
int | Outline |
int | Axes |
int | XShadows |
int | YShadows |
int | ZShadows |
int | TranslationMode |
int | Wrap |
generate a 3D cursor representation
vtkCursor3D is an object that generates a 3D representation of a cursor. The cursor consists of a wireframe bounding box, three intersecting axes lines that meet at the cursor focus, and "shadows" or projections of the axes against the sides of the bounding box. Each of these components can be turned on/off.
This filter generates two output datasets. The first (Output) is just the geometric representation of the cursor. The second (Focus) is a single point at the focal point.
Definition at line 38 of file vtkCursor3D.h.
typedef vtkPolyDataAlgorithm vtkCursor3D::Superclass |
Definition at line 41 of file vtkCursor3D.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkCursor3D* vtkCursor3D::NewInstance | ( | ) | const |
void vtkCursor3D::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
static |
Construct with model bounds = (-1,1,-1,1,-1,1), focal point = (0,0,0), all parts of cursor visible, and wrapping off.
void vtkCursor3D::SetModelBounds | ( | double | xmin, |
double | xmax, | ||
double | ymin, | ||
double | ymax, | ||
double | zmin, | ||
double | zmax | ||
) |
Set / get the boundary of the 3D cursor.
void vtkCursor3D::SetModelBounds | ( | double | bounds[6] | ) |
Set / get the boundary of the 3D cursor.
|
virtual |
Set / get the boundary of the 3D cursor.
|
virtual |
Set / get the boundary of the 3D cursor.
void vtkCursor3D::SetFocalPoint | ( | double | x[3] | ) |
Set/Get the position of cursor focus. If translation mode is on, then the entire cursor (including bounding box, cursor, and shadows) is translated. Otherwise, the focal point will either be clamped to the bounding box, or wrapped, if Wrap is on. (Note: this behavior requires that the bounding box is set prior to the focal point.)
|
inline |
Set/Get the position of cursor focus. If translation mode is on, then the entire cursor (including bounding box, cursor, and shadows) is translated. Otherwise, the focal point will either be clamped to the bounding box, or wrapped, if Wrap is on. (Note: this behavior requires that the bounding box is set prior to the focal point.)
Definition at line 63 of file vtkCursor3D.h.
|
virtual |
Set/Get the position of cursor focus. If translation mode is on, then the entire cursor (including bounding box, cursor, and shadows) is translated. Otherwise, the focal point will either be clamped to the bounding box, or wrapped, if Wrap is on. (Note: this behavior requires that the bounding box is set prior to the focal point.)
|
virtual |
Set/Get the position of cursor focus. If translation mode is on, then the entire cursor (including bounding box, cursor, and shadows) is translated. Otherwise, the focal point will either be clamped to the bounding box, or wrapped, if Wrap is on. (Note: this behavior requires that the bounding box is set prior to the focal point.)
|
virtual |
Turn on/off the wireframe bounding box.
|
virtual |
Turn on/off the wireframe bounding box.
|
virtual |
Turn on/off the wireframe bounding box.
|
virtual |
Turn on/off the wireframe bounding box.
|
virtual |
Turn on/off the wireframe axes.
|
virtual |
Turn on/off the wireframe axes.
|
virtual |
Turn on/off the wireframe axes.
|
virtual |
Turn on/off the wireframe axes.
|
virtual |
Turn on/off the wireframe x-shadows.
|
virtual |
Turn on/off the wireframe x-shadows.
|
virtual |
Turn on/off the wireframe x-shadows.
|
virtual |
Turn on/off the wireframe x-shadows.
|
virtual |
Turn on/off the wireframe y-shadows.
|
virtual |
Turn on/off the wireframe y-shadows.
|
virtual |
Turn on/off the wireframe y-shadows.
|
virtual |
Turn on/off the wireframe y-shadows.
|
virtual |
Turn on/off the wireframe z-shadows.
|
virtual |
Turn on/off the wireframe z-shadows.
|
virtual |
Turn on/off the wireframe z-shadows.
|
virtual |
Turn on/off the wireframe z-shadows.
|
virtual |
Enable/disable the translation mode. If on, changes in cursor position cause the entire widget to translate along with the cursor. By default, translation mode is off.
|
virtual |
Enable/disable the translation mode. If on, changes in cursor position cause the entire widget to translate along with the cursor. By default, translation mode is off.
|
virtual |
Enable/disable the translation mode. If on, changes in cursor position cause the entire widget to translate along with the cursor. By default, translation mode is off.
|
virtual |
Enable/disable the translation mode. If on, changes in cursor position cause the entire widget to translate along with the cursor. By default, translation mode is off.
|
virtual |
Turn on/off cursor wrapping. If the cursor focus moves outside the specified bounds, the cursor will either be restrained against the nearest "wall" (Wrap=off), or it will wrap around (Wrap=on).
|
virtual |
Turn on/off cursor wrapping. If the cursor focus moves outside the specified bounds, the cursor will either be restrained against the nearest "wall" (Wrap=off), or it will wrap around (Wrap=on).
|
virtual |
Turn on/off cursor wrapping. If the cursor focus moves outside the specified bounds, the cursor will either be restrained against the nearest "wall" (Wrap=off), or it will wrap around (Wrap=on).
|
virtual |
Turn on/off cursor wrapping. If the cursor focus moves outside the specified bounds, the cursor will either be restrained against the nearest "wall" (Wrap=off), or it will wrap around (Wrap=on).
|
inline |
Get the focus for this filter.
Definition at line 126 of file vtkCursor3D.h.
void vtkCursor3D::AllOn | ( | ) |
Turn every part of the 3D cursor on or off.
void vtkCursor3D::AllOff | ( | ) |
Turn every part of the 3D cursor on or off.
|
protected |
|
protected |
Definition at line 140 of file vtkCursor3D.h.
|
protected |
Definition at line 141 of file vtkCursor3D.h.
|
protected |
Definition at line 142 of file vtkCursor3D.h.
|
protected |
Definition at line 143 of file vtkCursor3D.h.
|
protected |
Definition at line 144 of file vtkCursor3D.h.
|
protected |
Definition at line 145 of file vtkCursor3D.h.
|
protected |
Definition at line 146 of file vtkCursor3D.h.
|
protected |
Definition at line 147 of file vtkCursor3D.h.
|
protected |
Definition at line 148 of file vtkCursor3D.h.
|
protected |
Definition at line 149 of file vtkCursor3D.h.