Studio/Utils/StudioUtils.h
Namespaces
| Name |
|---|
| shapeworks User usage reporting (telemetry) |
Classes
| Name | |
|---|---|
| class | shapeworks::StudioUtils Utilities for Studio. |
Source code
```cpp
pragma once
include
class QWidget;
include
include
include
include
class vtkImageData; class vtkRenderer; class QComboBox;
namespace shapeworks {
class Session;
class StudioUtils {
public:
static bool ask_multiple_domains_as_single(QWidget* parent, std::shared_ptr
static QStringList to_string_list(std::vector
static QImage vtk_image_to_qimage(vtkSmartPointer
static vtkSmartPointer
static QString get_platform_string();
static void add_viewport_border(vtkRenderer renderer, double color, double line_width = 6.0);
static bool write_mesh(vtkSmartPointer
static void brightness_contrast_to_window_width_level(double brightness, double contrast, double min_intensity, double max_intensity, double& window_width, double& window_level);
static void window_width_level_to_brightness_contrast(double window_width, double window_level, double min_intensity, double max_intensity, double& brightness, double& contrast);
static void update_domain_combobox(QComboBox* combobox, QSharedPointer
} // namespace shapeworks ```
Updated on 2026-03-31 at 16:02:11 +0000