VTK  9.2.5
vtkCesiumPointCloudWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCesiumPointCloudWriter.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 =========================================================================*/
21 #ifndef vtkCesiumPointCloudWriter_h
22 #define vtkCesiumPointCloudWriter_h
23 
24 #include "vtkIOCesium3DTilesModule.h" // For export macro
25 #include "vtkIdList.h"
26 #include "vtkWriter.h"
27 
28 class VTKIOCESIUM3DTILES_EXPORT vtkCesiumPointCloudWriter : public vtkWriter
29 {
30 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
36 
39  vtkSetStringMacro(FileName);
40  vtkGetStringMacro(FileName);
42 
44 
47  vtkSetObjectMacro(PointIds, vtkIdList);
48  vtkGetObjectMacro(PointIds, vtkIdList);
50 
51 protected:
54 
55  void WriteData() override;
57 
58  char* FileName;
60 
61 private:
63  void operator=(const vtkCesiumPointCloudWriter&) = delete;
64 };
65 
66 #endif
67 // VTK-HeaderTest-Exclude: vtkCesiumPointCloudWriter.h
export a vtkPointSet into a Cesium Point Cloud tile format
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkCesiumPointCloudWriter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkCesiumPointCloudWriter() override
void WriteData() override
list of point or cell ids
Definition: vtkIdList.h:143
a simple class to control print indentation
Definition: vtkIndent.h:119
Store vtkAlgorithm input/output information.
abstract class to write data to file(s)
Definition: vtkWriter.h:46
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453