Skip to content

Libs/Project/ProjectUtils.h

Namespaces

Name
shapeworks

Classes

Name
class shapeworks::ProjectUtils

Source code

#pragma once

#include <vtkTransform.h>
#include <vtkSmartPointer.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);
};
}

Updated on 2022-03-31 at 09:51:19 -0600