Libs/Optimize/Utils/ParticleGaussianModeWriter.h
Namespaces
| Name |
|---|
| shapeworks User usage reporting (telemetry) |
Classes
| Name | |
|---|---|
| class | shapeworks::ParticleGaussianModeWriter |
Source code
```cpp
pragma once
include
include
include "Libs/Optimize/Matrix/LegacyShapeMatrix.h"
include "itkDataObject.h"
namespace shapeworks {
template
typedef ParticleSystem ParticleSystemType; typedef LegacyShapeMatrix ShapeMatrixType; typedef typename ShapeMatrixType::DataType DataType;
typedef typename ParticleSystemType::PointType PointType;
typedef vnl_vector
itkNewMacro(Self);
itkStaticConstMacro(Dimension, unsigned int, VDimension);
void Update() const;
int GetNumberOfModes() const { return m_NumberOfModes; } void SetNumberOfModes(int b) { m_NumberOfModes = b; }
void SetShapeMatrix(ShapeMatrixType s) { m_ShapeMatrix = s; } ShapeMatrixType GetShapeMatrix() { return m_ShapeMatrix.GetPointer(); } const ShapeMatrixType* GetShapeMatrix() const { return m_ShapeMatrix.GetPointer(); }
void SetFileName(const std::string& s) { m_FileName = s; } void SetFileName(const char* s) { m_FileName = s; } const std::string& GetFileName() const { return m_FileName; }
protected: ParticleGaussianModeWriter() : m_NumberOfModes(3) {} virtual ~ParticleGaussianModeWriter() {} void operator=(const ParticleGaussianModeWriter&); ParticleGaussianModeWriter(const ParticleGaussianModeWriter&); typename ShapeMatrixType::Pointer m_ShapeMatrix;
int m_NumberOfModes; std::string m_FileName; };
} // namespace shapeworks
include "ParticleGaussianModeWriter.txx"
```
Updated on 2026-03-31 at 16:02:11 +0000