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

Servers/Filters/vtkPVGlyphFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVGlyphFilter.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 =========================================================================*/
00022 #ifndef __vtkPVGlyphFilter_h
00023 #define __vtkPVGlyphFilter_h
00024 
00025 #include "vtkGlyph3D.h"
00026 
00027 class vtkMaskPoints;
00028 
00029 class VTK_EXPORT vtkPVGlyphFilter : public vtkGlyph3D
00030 {
00031 public:
00032   vtkTypeRevisionMacro(vtkPVGlyphFilter,vtkGlyph3D);
00033   void PrintSelf(ostream& os, vtkIndent indent);
00034 
00035   static vtkPVGlyphFilter *New();
00036 
00038 
00039   vtkSetMacro(MaximumNumberOfPoints, int);
00040   vtkGetMacro(MaximumNumberOfPoints, int);
00042 
00044 
00045   vtkGetMacro(NumberOfProcesses, int);
00047   
00049 
00050   vtkSetMacro(UseMaskPoints, int);
00051   vtkGetMacro(UseMaskPoints, int);
00053 
00055 
00056   void SetRandomMode(int mode);
00057   int GetRandomMode();
00059 
00062   virtual int IsPointVisible(vtkDataSet* ds, vtkIdType ptId);
00063 
00064 protected:
00065   vtkPVGlyphFilter();
00066   ~vtkPVGlyphFilter();
00067 
00068   virtual int RequestData(vtkInformation *, 
00069                           vtkInformationVector **, 
00070                           vtkInformationVector *);
00071   virtual int RequestCompositeData(vtkInformation* request,
00072                                    vtkInformationVector** inputVector,
00073                                    vtkInformationVector* outputVector);
00074 
00075   virtual int FillInputPortInformation(int, vtkInformation*);
00076 
00077   // Create a default executive.
00078   virtual vtkExecutive* CreateDefaultExecutive();
00079   
00080   vtkIdType GatherTotalNumberOfPoints(vtkIdType localNumPts);
00081 
00082   int MaskAndExecute(vtkIdType numPts, vtkIdType maxNumPts,
00083                      vtkDataSet* input,
00084                      vtkInformation* request,
00085                      vtkInformationVector** inputVector,
00086                      vtkInformationVector* outputVector);
00087 
00088   vtkMaskPoints *MaskPoints;
00089   int MaximumNumberOfPoints;
00090   int NumberOfProcesses;
00091   int UseMaskPoints;
00092   int InputIsUniformGrid;
00093   
00094   vtkIdType BlockMaxNumPts;
00095   vtkIdType BlockOnRatio;
00096   vtkIdType BlockPointCounter;
00097   vtkIdType BlockNextPoint;
00098   vtkIdType BlockNumPts;
00099 
00100   int RandomMode;
00101 
00102   virtual void ReportReferences(vtkGarbageCollector*);
00103 private:
00104   vtkPVGlyphFilter(const vtkPVGlyphFilter&);  // Not implemented.
00105   void operator=(const vtkPVGlyphFilter&);  // Not implemented.
00106 };
00107 
00108 #endif

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