VTK  9.3.1
vtkCesiumPointCloudWriter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
9 #ifndef vtkCesiumPointCloudWriter_h
10 #define vtkCesiumPointCloudWriter_h
11 
12 #include "vtkIOCesium3DTilesModule.h" // For export macro
13 #include "vtkIdList.h"
14 #include "vtkWriter.h"
15 
16 VTK_ABI_NAMESPACE_BEGIN
17 
18 class VTKIOCESIUM3DTILES_EXPORT vtkCesiumPointCloudWriter : public vtkWriter
19 {
20 public:
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
26 
29  vtkSetStringMacro(FileName);
30  vtkGetStringMacro(FileName);
32 
34 
37  vtkSetObjectMacro(PointIds, vtkIdList);
38  vtkGetObjectMacro(PointIds, vtkIdList);
40 
41 protected:
43  ~vtkCesiumPointCloudWriter() override;
44 
45  void WriteData() override;
47 
48  char* FileName;
50 
51 private:
53  void operator=(const vtkCesiumPointCloudWriter&) = delete;
54 };
55 
56 VTK_ABI_NAMESPACE_END
57 #endif
58 // VTK-HeaderTest-Exclude: vtkCesiumPointCloudWriter.h
Store vtkAlgorithm input/output information.
abstract class to write data to file(s)
Definition: vtkWriter.h:34
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:28
list of point or cell ids
Definition: vtkIdList.h:22
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
export a vtkPointSet into a Cesium Point Cloud tile format
static vtkAlgorithm * New()
virtual void WriteData()=0