Man Page for vtkCursor3D
Table of Contents

NAME

vtkCursor3D - generate a 3D cursor representation

SYNOPSIS


#include "/opt/vtk-c++/graphics/vtkCursor3D.h"

class VTK_EXPORT vtkCursor3D : public vtkPolyDataSource

vtkCursor3D();
~vtkCursor3D();
static vtkCursor3D *New() {return new vtkCursor3D;};
const char *GetClassName() {return "vtkCursor3D";};
void PrintSelf(ostream& os, vtkIndent indent);
void SetModelBounds(float *bounds);
void SetModelBounds(float xmin, float xmax, float ymin, float ymax, float zmin, float zmax);
float *GetModelBounds();
void GetModelBounds(float data[6]);
void SetFocalPoint(float, float, float);
void SetFocalPoint(float *);
float *GetFocalPoint();
void GetFocalPoint(float data[3]);
void SetOutline(int);
int GetOutline();
void OutlineOn();
void OutlineOff();
void SetAxes(int);
int GetAxes();
void AxesOn();
void AxesOff();
void SetXShadows(int);
int GetXShadows();
void XShadowsOn();
void XShadowsOff();
void SetYShadows(int);
int GetYShadows();
void YShadowsOn();
void YShadowsOff();
void SetZShadows(int);
int GetZShadows();
void ZShadowsOn();
void ZShadowsOff();
void SetWrap(int);
int GetWrap();
void WrapOn();
void WrapOff();
vtkPolyData *GetFocus() {return (vtkPolyData *)this->Focus;};
void AllOn();
void AllOff();

DESCRIPTION

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.

SUMMARY

void SetFocalPoint(float, float, float)
void SetFocalPoint(float *)
Specify the position of cursor focus.

void SetOutline(int)
Turn on/off the wireframe bounding box.

void SetAxes(int)
Turn on/off the wireframe axes.

void SetXShadows(int)
Turn on/off the wireframe x-shadows.

void SetYShadows(int)
Turn on/off the wireframe y-shadows.

void SetZShadows(int)
Turn on/off the wireframe z-shadows.

void SetWrap(int)
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).

vtkCursor3D()
Construct with model bounds = (-1,1,-1,1,-1,1), focal point = (0,0,0), all parts of cursor visible, and wrapping off.

void SetModelBounds(float xmin, float xmax, float ymin, float ymax,
float zmin, float zmax)
Set the boundary of the 3D cursor.

void AllOn()
Turn every part of the 3D cursor on.

void AllOff()
Turn every part of the 3D cursor off.


Table of Contents