ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
pcl_image_canvas_source_2d.cpp
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
9 #include <vtkImageData.h>
10 #include <vtkObjectFactory.h>
11 
12 namespace pcl {
13 namespace visualization {
14 // Standard VTK macro for *New ()
15 vtkStandardNewMacro(PCLImageCanvasSource2D)
16 } // namespace visualization
17 } // namespace pcl
18 
21  vtkImageData* image) {
22  this->ImageData->DeepCopy(image);
23  this->Modified();
24 }
std::shared_ptr< core::Tensor > image
vtkStandardNewMacro(ImageViewerInteractorStyle)