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

Servers/Filters/vtkPVLODActor.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVLODActor.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 =========================================================================*/
00027 #ifndef __vtkPVLODActor_h
00028 #define __vtkPVLODActor_h
00029 
00030 #include "vtkActor.h"
00031 
00032 class vtkMapper;
00033 
00034 class VTK_EXPORT vtkPVLODActor : public vtkActor
00035 {
00036 public:
00037   vtkTypeRevisionMacro(vtkPVLODActor,vtkActor);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039 
00040   static vtkPVLODActor *New();
00041 
00044   virtual void Render(vtkRenderer *, vtkMapper *);
00045 
00048   int RenderOpaqueGeometry(vtkViewport *viewport);
00049 
00053   void ReleaseGraphicsResources(vtkWindow *);
00054 
00056 
00057   virtual void SetLODMapper(vtkMapper*);
00058   vtkGetObjectMacro(LODMapper, vtkMapper);
00060 
00064   vtkMapper *GetMapper() {return this->SelectMapper();}
00065 
00068   void Modified();
00069   
00071   void ShallowCopy(vtkProp *prop);
00072 
00074   double *GetBounds();
00075 
00076 protected:
00077   vtkPVLODActor();
00078   ~vtkPVLODActor();
00079   vtkActor            *Device;
00080   vtkMapper           *LODMapper;
00081 
00082   vtkMapper *SelectMapper();
00083 
00084   int EnableLOD;
00085 
00086 private:
00087   vtkPVLODActor(const vtkPVLODActor&); // Not implemented.
00088   void operator=(const vtkPVLODActor&); // Not implemented.
00089 };
00090 
00091 #endif
00092 
00093 

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