Skip to content

Studio/src/Utils/StudioUtils.h

Namespaces

Name
shapeworks

Classes

Name
class shapeworks::StudioUtils
Utilities for Studio.

Source code

#pragma once

#include <Libs/Project/Project.h>
class QWidget;

#include <vtkPolyData.h>
#include <vtkSmartPointer.h>

#include <QImage>
#include <QStringList>

class vtkImageData;

namespace shapeworks {

class StudioUtils {
 public:
  static bool ask_multiple_domains_as_single(QWidget *parent, std::shared_ptr<Project> project);

  static QStringList to_string_list(std::vector<std::string> vector);

  static QImage vtk_image_to_qimage(vtkSmartPointer<vtkImageData> image_data);

  static vtkSmartPointer<vtkPolyData> reverse_poly_data(vtkSmartPointer<vtkPolyData> poly_data);
};

}  // namespace shapeworks

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