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

dox/Graphics/vtkAxes.h

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