Skip to content

Libs/Project/ProjectUtils.h

Namespaces

Name
shapeworks

Classes

Name
class shapeworks::ProjectUtils

Source code

#pragma once

#include <vtkSmartPointer.h>
#include <vtkTransform.h>

#include <vector>

namespace shapeworks {

class ProjectUtils {
 public:
  // convert a list of doubles from a spreadsheet to a vtkTransform
  static vtkSmartPointer<vtkTransform> convert_transform(std::vector<double> list);

  // convert a vtkTransform to a list of doubles (e.g. for project spreadsheet)
  static std::vector<double> convert_transform(vtkSmartPointer<vtkTransform> transform);
};
}  // namespace shapeworks

Updated on 2022-07-23 at 17:50:05 -0600