VTK  9.2.20221001
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 VTK_ABI_NAMESPACE_BEGIN
29 
30 class VTKIOCESIUM3DTILES_EXPORT vtkCesiumPointCloudWriter : public vtkWriter
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
38 
41  vtkSetStringMacro(FileName);
42  vtkGetStringMacro(FileName);
44 
46 
49  vtkSetObjectMacro(PointIds, vtkIdList);
50  vtkGetObjectMacro(PointIds, vtkIdList);
52 
53 protected:
56 
57  void WriteData() override;
59 
60  char* FileName;
62 
63 private:
65  void operator=(const vtkCesiumPointCloudWriter&) = delete;
66 };
67 
68 VTK_ABI_NAMESPACE_END
69 #endif
70 // 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:144
a simple class to control print indentation
Definition: vtkIndent.h:120
Store vtkAlgorithm input/output information.
abstract class to write data to file(s)
Definition: vtkWriter.h:47
@ info
Definition: vtkX3D.h:388
@ port
Definition: vtkX3D.h:459