Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkAxes Class Reference

create an x-y-z axes. More...

#include <vtkAxes.h>

Inheritance diagram for vtkAxes:

Inheritance graph
[legend]
Collaboration diagram for vtkAxes:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetOrigin (float, float, float)
virtual void SetOrigin (float[3])
virtual float * GetOrigin ()
virtual void GetOrigin (float data[3])
virtual void SetScaleFactor (float)
virtual float GetScaleFactor ()
virtual void SetSymmetric (int)
virtual int GetSymmetric ()
virtual void SymmetricOn ()
virtual void SymmetricOff ()

Static Public Methods

vtkAxes * New ()
int IsTypeOf (const char *type)
vtkAxes * SafeDownCast (vtkObject *o)

Protected Methods

 vtkAxes ()
 ~vtkAxes ()
 vtkAxes (const vtkAxes &)
void operator= (const vtkAxes &)
void Execute ()
int ComputeDivisionExtents (vtkDataObject *output, int idx, int numDivisions)

Protected Attributes

float Origin [3]
float ScaleFactor
int Symmetric

Detailed Description

create an x-y-z axes.

Date:
2000/12/10 20:08:30
Revision:
1.32

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.

Examples:
vtkAxes (examples)


Member Function Documentation

virtual const char* vtkAxes::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

virtual int vtkAxes::IsA const char *    type [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 vtkPolyDataSource.

int vtkAxes::IsTypeOf const char *    type [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 vtkPolyDataSource.

vtkAxes* vtkAxes::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkPolyDataSource.

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 vtkSource.

vtkAxes* vtkAxes::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

virtual void vtkAxes::SetOrigin float   ,
float   ,
float   
[virtual]
 

Set the origin of the axes.

virtual void vtkAxes::SetScaleFactor float    [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.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:23:45 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002