Skip to content

Studio/src/Data/MeshGroup.h

Namespaces

Name
shapeworks

Classes

Name
class shapeworks::MeshGroup
Representation of a group of meshes.

Source code

#pragma once

#include <Data/StudioMesh.h>

namespace shapeworks {


class MeshGroup {
 public:
  MeshGroup();

  MeshGroup(unsigned long num_meshes);

  ~MeshGroup();

  void set_number_of_meshes(int n);

  bool valid();

  void set_mesh(int i, MeshHandle mesh);

  MeshList& meshes();

  vtkSmartPointer<vtkPolyData> get_combined_poly_data();

 private:
  MeshList meshes_;
};
}  // namespace shapeworks

Updated on 2022-07-23 at 16:40:07 -0600