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

# Graphics/vtkPolyDataStreamer.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkPolyDataStreamer.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00051 #ifndef __vtkPolyDataStreamer_h
    00052 #define __vtkPolyDataStreamer_h
    00053
    00054 #include "vtkPolyDataToPolyDataFilter.h"
    00055
    00056 class VTK_GRAPHICS_EXPORT vtkPolyDataStreamer : public vtkPolyDataToPolyDataFilter
    00057 {
    00058 public:
    00059   static vtkPolyDataStreamer *New();
    00060
    00061   vtkTypeRevisionMacro(vtkPolyDataStreamer,vtkPolyDataToPolyDataFilter);
    00062   void PrintSelf(ostream& os, vtkIndent indent);
    00063
    00065
    00066   void SetNumberOfStreamDivisions(int num);
    00067   vtkGetMacro(NumberOfStreamDivisions,int);
    00069
    00071
    00073   vtkSetMacro(ColorByPiece, int);
    00074   vtkGetMacro(ColorByPiece, int);
    00075   vtkBooleanMacro(ColorByPiece, int);
    00077
    00078
    00079 protected:
    00080   vtkPolyDataStreamer();
    00081   ~vtkPolyDataStreamer();
    00082
    00083   // Append the pieces.
    00084   void Execute();
    00085   void ComputeInputUpdateExtents(vtkDataObject *output);
    00086
    00087   int NumberOfStreamDivisions;
    00088   int ColorByPiece;
    00089 private:
    00090   vtkPolyDataStreamer(const vtkPolyDataStreamer&);  // Not implemented.
    00091   void operator=(const vtkPolyDataStreamer&);  // Not implemented.
    00092 };
    00093
    00094 #endif
    00095
    00096
    00097
    00098
    00099