#include <vtkAxes.h>
vtkAxes creates three lines that form an x-y-z axes. The origin of the axes is user specified (0,0,0 is default), and the size is specified with a scale factor. Three scalar values are generated for the three lines and can be used (via color map) to indicate a particular coordinate axis.
Definition at line 35 of file vtkAxes.h.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetOrigin (double, double, double) |
virtual void | SetOrigin (double[3]) |
virtual double * | GetOrigin () |
virtual void | GetOrigin (double data[3]) |
virtual void | SetScaleFactor (double) |
virtual double | GetScaleFactor () |
virtual void | SetSymmetric (int) |
virtual int | GetSymmetric () |
virtual void | SymmetricOn () |
virtual void | SymmetricOff () |
virtual void | SetComputeNormals (int) |
virtual int | GetComputeNormals () |
virtual void | ComputeNormalsOn () |
virtual void | ComputeNormalsOff () |
Static Public Member Functions | |
static vtkAxes * | New () |
static int | IsTypeOf (const char *type) |
static vtkAxes * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkAxes () | |
~vtkAxes () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | ComputeDivisionExtents (vtkDataObject *output, int idx, int numDivisions) |
Protected Attributes | |
double | Origin [3] |
double | ScaleFactor |
int | Symmetric |
int | ComputeNormals |
vtkAxes::vtkAxes | ( | ) | [protected] |
static vtkAxes* vtkAxes::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
virtual const char* vtkAxes::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPolyDataAlgorithm.
static int vtkAxes::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 vtkAxes::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.
Reimplemented from vtkPolyDataAlgorithm.
void vtkAxes::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.
virtual void vtkAxes::SetOrigin | ( | double | , | |
double | , | |||
double | ||||
) | [virtual] |
Set the origin of the axes.
virtual void vtkAxes::SetOrigin | ( | double | [3] | ) | [virtual] |
Set the origin of the axes.
virtual double* vtkAxes::GetOrigin | ( | ) | [virtual] |
Set the origin of the axes.
virtual void vtkAxes::GetOrigin | ( | double | data[3] | ) | [virtual] |
Set the origin of the axes.
virtual void vtkAxes::SetScaleFactor | ( | double | ) | [virtual] |
Set the scale factor of the axes. Used to control size.
virtual double vtkAxes::GetScaleFactor | ( | ) | [virtual] |
Set the scale factor of the axes. Used to control size.
virtual void vtkAxes::SetSymmetric | ( | int | ) | [virtual] |
If Symetric is on, the the axis continue to negative values.
virtual int vtkAxes::GetSymmetric | ( | ) | [virtual] |
If Symetric is on, the the axis continue to negative values.
virtual void vtkAxes::SymmetricOn | ( | ) | [virtual] |
If Symetric is on, the the axis continue to negative values.
virtual void vtkAxes::SymmetricOff | ( | ) | [virtual] |
If Symetric is on, the the axis continue to negative values.
virtual void vtkAxes::SetComputeNormals | ( | int | ) | [virtual] |
Option for computing normals. By default they are computed.
virtual int vtkAxes::GetComputeNormals | ( | ) | [virtual] |
Option for computing normals. By default they are computed.
virtual void vtkAxes::ComputeNormalsOn | ( | ) | [virtual] |
Option for computing normals. By default they are computed.
virtual void vtkAxes::ComputeNormalsOff | ( | ) | [virtual] |
Option for computing normals. By default they are computed.
int vtkAxes::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.
int vtkAxes::ComputeDivisionExtents | ( | vtkDataObject * | output, | |
int | idx, | |||
int | numDivisions | |||
) | [protected] |
double vtkAxes::Origin[3] [protected] |
double vtkAxes::ScaleFactor [protected] |
int vtkAxes::Symmetric [protected] |
int vtkAxes::ComputeNormals [protected] |