VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Filters/General/vtkAxes.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkAxes.h
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 =========================================================================*/
00030 #ifndef vtkAxes_h
00031 #define vtkAxes_h
00032 
00033 #include "vtkFiltersGeneralModule.h" // For export macro
00034 #include "vtkPolyDataAlgorithm.h"
00035 
00036 class VTKFILTERSGENERAL_EXPORT vtkAxes : public vtkPolyDataAlgorithm
00037 {
00038 public:
00039   static vtkAxes *New();
00040 
00041   vtkTypeMacro(vtkAxes,vtkPolyDataAlgorithm);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043 
00045 
00046   vtkSetVector3Macro(Origin,double);
00047   vtkGetVectorMacro(Origin,double,3);
00049 
00051 
00052   vtkSetMacro(ScaleFactor,double);
00053   vtkGetMacro(ScaleFactor,double);
00055 
00057 
00058   vtkSetMacro(Symmetric,int);
00059   vtkGetMacro(Symmetric,int);
00060   vtkBooleanMacro(Symmetric,int);
00062 
00064 
00065   vtkSetMacro(ComputeNormals, int);
00066   vtkGetMacro(ComputeNormals, int);
00067   vtkBooleanMacro(ComputeNormals, int);
00069 
00070 protected:
00071   vtkAxes();
00072   ~vtkAxes() {}
00073 
00074   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00075   // This source does not know how to generate pieces yet.
00076   int ComputeDivisionExtents(vtkDataObject *output,
00077                              int idx, int numDivisions);
00078 
00079   double Origin[3];
00080   double ScaleFactor;
00081 
00082   int Symmetric;
00083   int ComputeNormals;
00084 private:
00085   vtkAxes(const vtkAxes&);  // Not implemented.
00086   void operator=(const vtkAxes&);  // Not implemented.
00087 };
00088 
00089 #endif
00090 
00091