• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Rendering/vtkCompositePolyDataMapper2.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkCompositePolyDataMapper2.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 =========================================================================*/
00027 #ifndef __vtkCompositePolyDataMapper2_h
00028 #define __vtkCompositePolyDataMapper2_h
00029 
00030 #include "vtkPainterPolyDataMapper.h"
00031 
00032 class VTK_RENDERING_EXPORT vtkCompositePolyDataMapper2 : public vtkPainterPolyDataMapper
00033 {
00034 public:
00035   static vtkCompositePolyDataMapper2* New();
00036   vtkTypeRevisionMacro(vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper);
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00040   virtual void RenderPiece(vtkRenderer *ren, vtkActor *act);
00041 
00043 
00044   double *GetBounds();
00045   void GetBounds(double bounds[6]) { this->Superclass::GetBounds( bounds ); };  
00047 
00048 
00052   virtual void Render(vtkRenderer *ren, vtkActor *act);
00053 
00055 
00057   vtkSetMacro(ColorBlocks, int);
00058   vtkGetMacro(ColorBlocks, int);
00060 
00061 //BTX
00062 protected:
00063   vtkCompositePolyDataMapper2();
00064   ~vtkCompositePolyDataMapper2();
00065 
00069   vtkExecutive* CreateDefaultExecutive();
00070 
00072   virtual int FillInputPortInformation(int port, vtkInformation* info);
00073 
00075   void ComputeBounds();
00076 
00079   virtual void UpdatePainterInformation();
00080 
00082   vtkTimeStamp BoundsMTime;
00083 
00084   int ColorBlocks;
00085 private:
00086   vtkCompositePolyDataMapper2(const vtkCompositePolyDataMapper2&); // Not implemented.
00087   void operator=(const vtkCompositePolyDataMapper2&); // Not implemented.
00088 //ETX
00089 };
00090 
00091 #endif
00092 
00093 

Generated by  doxygen 1.7.1