ParaView
vtkAppendArcLength.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkAppendArcLength.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
29 #ifndef vtkAppendArcLength_h
30 #define vtkAppendArcLength_h
31 
32 #include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
33 #include "vtkPolyDataAlgorithm.h"
34 
35 class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkAppendArcLength : public vtkPolyDataAlgorithm
36 {
37 public:
38  static vtkAppendArcLength* New();
39  vtkTypeMacro(vtkAppendArcLength, vtkPolyDataAlgorithm);
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
42 protected:
45 
47 
51  virtual int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
52  vtkInformationVector* outputVector);
53 
54 private:
55  vtkAppendArcLength(const vtkAppendArcLength&) VTK_DELETE_FUNCTION;
56  void operator=(const vtkAppendArcLength&) VTK_DELETE_FUNCTION;
58 };
59 
60 #endif
appends Arc length for input poly lines.