ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvGenericTransformTool.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 
10 #include "ecvHObject.h"
11 
13  : m_associatedEntity(nullptr) {}
14 
15 bool ecvGenericTransformTool::setInputData(ccHObject* entity, int viewport) {
16  if (!entity) {
17  return false;
18  }
19  m_associatedEntity = entity;
20  return true;
21 }
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
virtual bool setInputData(ccHObject *entity, int viewport=0)