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

Servers/ServerManager/vtkSMTransformProxy.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMTransformProxy.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
00021 #ifndef __vtkSMTransformProxy_h_
00022 #define __vtkSMTransformProxy_h_
00023 
00024 #include "vtkSMProxy.h"
00025 class vtkMatrix4x4;
00026 
00027 class VTK_EXPORT vtkSMTransformProxy : public vtkSMProxy
00028 {
00029 public:
00030   static vtkSMTransformProxy* New();
00031   vtkTypeRevisionMacro(vtkSMTransformProxy, vtkSMProxy);
00032   void PrintSelf(ostream& os, vtkIndent indent);
00033 
00035 
00036   vtkSetVector3Macro(Position, double);
00037   vtkGetVector3Macro(Position, double);
00039 
00041 
00042   vtkSetVector3Macro(Rotation, double);
00043   vtkGetVector3Macro(Rotation, double);
00045 
00047 
00048   vtkSetVector3Macro(Scale, double);
00049   vtkGetVector3Macro(Scale, double);
00051  
00055   virtual void UpdateVTKObjects();
00056 
00057 protected:
00058   vtkSMTransformProxy();
00059   ~vtkSMTransformProxy();
00060 
00061   double Position[3];
00062   double Rotation[3];
00063   double Scale[3];
00064 
00066   void GetMatrix(vtkMatrix4x4 *mat);
00067   
00068 private:
00069   vtkSMTransformProxy(const vtkSMTransformProxy&); // Not implemented
00070   void operator=(const vtkSMTransformProxy&); // Not implemented
00071 };
00072 
00073 #endif
00074 

Generated on Tue May 30 12:31:49 2006 for ParaView by doxygen 1.3.5