Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkAxes.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkAxes.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00043 #ifndef __vtkAxes_h
00044 #define __vtkAxes_h
00045 
00046 #include "vtkPolyDataSource.h"
00047 
00048 class VTK_GRAPHICS_EXPORT vtkAxes : public vtkPolyDataSource 
00049 {
00050 public:
00051   static vtkAxes *New();
00052 
00053   vtkTypeRevisionMacro(vtkAxes,vtkPolyDataSource);
00054   void PrintSelf(ostream& os, vtkIndent indent);
00055 
00057 
00058   vtkSetVector3Macro(Origin,double);
00059   vtkGetVectorMacro(Origin,double,3);
00061 
00063 
00064   vtkSetMacro(ScaleFactor,double);
00065   vtkGetMacro(ScaleFactor,double);
00067 
00069 
00070   vtkSetMacro(Symmetric,int);
00071   vtkGetMacro(Symmetric,int);
00072   vtkBooleanMacro(Symmetric,int);
00074 
00076 
00077   vtkSetMacro(ComputeNormals, int);
00078   vtkGetMacro(ComputeNormals, int);
00079   vtkBooleanMacro(ComputeNormals, int);
00081   
00082 protected:
00083   vtkAxes();
00084   ~vtkAxes() {};
00085 
00086   void Execute();
00087   // This source does not know how to generate pieces yet.
00088   int ComputeDivisionExtents(vtkDataObject *output, 
00089                              int idx, int numDivisions);
00090 
00091   double Origin[3];
00092   double ScaleFactor;
00093   
00094   int Symmetric;
00095   int ComputeNormals;
00096 private:
00097   vtkAxes(const vtkAxes&);  // Not implemented.
00098   void operator=(const vtkAxes&);  // Not implemented.
00099 };
00100 
00101 #endif
00102 
00103