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

Servers/Filters/vtkMultiActorHelper.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMultiActorHelper.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 =========================================================================*/
00025 #ifndef __vtkMultiActorHelper_h
00026 #define __vtkMultiActorHelper_h
00027 
00028 #include "vtkObject.h"
00029 
00030 class vtkActor;
00031 class vtkActorCollection;
00032 
00033 class VTK_EXPORT vtkMultiActorHelper : public vtkObject
00034 {
00035 public:
00036   static vtkMultiActorHelper *New();
00037   vtkTypeRevisionMacro(vtkMultiActorHelper,vtkObject);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039 
00041   void Rotate(double transform[8]);
00042 
00044   void Pan(double x, double y);
00045 
00047   void UniformScale(double scaleFactor);
00048   
00050   void AddActor(vtkActor* actor);
00051 
00053   void RemoveAllActors();
00054 
00055 protected:
00056   vtkMultiActorHelper();
00057   ~vtkMultiActorHelper();
00058 
00059   vtkActorCollection* Actors;
00060 
00061   void Prop3DTransform(vtkActor *actor, int numRotation,
00062                        double *rotate, double *scale);
00063 
00064 private:
00065   vtkMultiActorHelper(const vtkMultiActorHelper&);  // Not implemented.
00066   void operator=(const vtkMultiActorHelper&);  // Not implemented.
00067 };
00068 
00069 #endif

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