VTK  9.3.20240424
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
16VTK_ABI_NAMESPACE_BEGIN
17
18class VTKIOCESIUM3DTILES_EXPORT vtkCesiumPointCloudWriter : public vtkWriter
19{
20public:
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
41protected:
44
45 void WriteData() override;
46 int FillInputPortInformation(int port, vtkInformation* info) override;
47
48 char* FileName;
50
51private:
53 void operator=(const vtkCesiumPointCloudWriter&) = delete;
54};
55
56VTK_ABI_NAMESPACE_END
57#endif
58// VTK-HeaderTest-Exclude: vtkCesiumPointCloudWriter.h
export a vtkPointSet into a Cesium Point Cloud (PNTS) 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:133
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
abstract class to write data to file(s)
Definition vtkWriter.h:35