Libs/Analyze/StudioMesh.h
Namespaces
| Name |
|---|
| shapeworks User usage reporting (telemetry) |
Classes
| Name | |
|---|---|
| class | shapeworks::StudioMesh Representation of a single mesh. |
Types
| Name | |
|---|---|
| using float | PixelType |
| using itk::Image< PixelType, 3 > | ImageType |
Types Documentation
using PixelType
cpp
using PixelType = float;
using ImageType
cpp
using ImageType = itk::Image<PixelType, 3>;
Source code
```cpp
pragma once
include
include
include
include
include
include
include
include
using PixelType = float;
using ImageType = itk::Image
namespace shapeworks {
class StudioMesh;
using MeshHandle = std::shared_ptr
class StudioMesh { public: StudioMesh();
~StudioMesh();
vtkSmartPointer
void set_poly_data(vtkSmartPointer
void set_error_message(std::string error_message);
std::string get_error_message();
void apply_feature_map(std::string name, ImageType::Pointer image);
void apply_scalars(MeshHandle mesh);
void interpolate_scalars_to_mesh(std::string name, Eigen::VectorXd positions, Eigen::VectorXd scalar_values);
double get_largest_dimension_size();
vtkFloatArray* get_or_create_array(std::string name, float default_value);
void paint_ffc(double world_pos[], double radius, bool inclusive);
void fill_ffc(bool inclusive);
bool has_ffc_paint();
Mesh get_sw_mesh();
static constexpr const char* const FFC_PAINT = "ffc_paint";
private:
vtkSmartPointer
vtkSmartPointer
// error message if the polydata didn't load std::string error_message_; }; } // namespace shapeworks ```
Updated on 2026-03-31 at 16:02:11 +0000