VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkPOutlineCornerFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPOutlineCornerFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef __vtkPOutlineCornerFilter_h
25 #define __vtkPOutlineCornerFilter_h
26 
27 #include "vtkFiltersParallelModule.h" // For export macro
28 #include "vtkPolyDataAlgorithm.h"
30 class vtkMultiProcessController;
31 class vtkAppendPolyData;
33 
34 class VTKFILTERSPARALLEL_EXPORT vtkPOutlineCornerFilter : public vtkPolyDataAlgorithm
35 {
36 public:
37  vtkTypeMacro(vtkPOutlineCornerFilter,vtkPolyDataAlgorithm);
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41  static vtkPOutlineCornerFilter *New();
42 
44 
49  virtual void SetCornerFactor(double cornerFactor);
50  virtual double GetCornerFactorMinValue() { return 0.001;}
51  virtual double GetCornerFactorMaxValue() { return 0.5; }
53 
54  vtkGetMacro(CornerFactor, double);
55 
57 
58  virtual void SetController(vtkMultiProcessController*);
59  vtkGetObjectMacro(Controller, vtkMultiProcessController);
61 
62 protected:
65 
66  vtkMultiProcessController* Controller;
68  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
69  virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
70  virtual int FillInputPortInformation(int port, vtkInformation *info);
71 
72  double CornerFactor;
73 private:
74  vtkPOutlineCornerFilter(const vtkPOutlineCornerFilter&); // Not implemented.
75  void operator=(const vtkPOutlineCornerFilter&); // Not implemented.
76 
77  vtkPOutlineFilterInternals* Internals;
78 };
79 
80 #endif
create wireframe outline corners around bounding box
vtkMultiProcessController * Controller
vtkOutlineCornerSource * OutlineCornerSource
create wireframe outline corners for arbitrary data set
appends one or more polygonal datasets together
virtual double GetCornerFactorMinValue()
create wireframe outline (or corners) for arbitrary data set
virtual double GetCornerFactorMaxValue()