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

vtkPolyDataStreamer.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkPolyDataStreamer.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 =========================================================================*/
00035 #ifndef __vtkPolyDataStreamer_h
00036 #define __vtkPolyDataStreamer_h
00037 
00038 #include "vtkPolyDataAlgorithm.h"
00039 
00040 class VTK_GRAPHICS_EXPORT vtkPolyDataStreamer : public vtkPolyDataAlgorithm
00041 {
00042 public:
00043   static vtkPolyDataStreamer *New();
00044 
00045   vtkTypeRevisionMacro(vtkPolyDataStreamer,vtkPolyDataAlgorithm);
00046   void PrintSelf(ostream& os, vtkIndent indent);
00047 
00049 
00050   void SetNumberOfStreamDivisions(int num);
00051   vtkGetMacro(NumberOfStreamDivisions,int);
00053   
00055 
00057   vtkSetMacro(ColorByPiece, int);
00058   vtkGetMacro(ColorByPiece, int);
00059   vtkBooleanMacro(ColorByPiece, int);
00061 
00062 
00063 protected:
00064   vtkPolyDataStreamer();
00065   ~vtkPolyDataStreamer();
00066   
00067   // Append the pieces.
00068   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00069   int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00070   
00071   int NumberOfStreamDivisions;
00072   int ColorByPiece;
00073 private:
00074   vtkPolyDataStreamer(const vtkPolyDataStreamer&);  // Not implemented.
00075   void operator=(const vtkPolyDataStreamer&);  // Not implemented.
00076 };
00077 
00078 #endif

Generated on Mon Jan 21 23:07:25 2008 for VTK by  doxygen 1.4.3-20050530