Plugins
ug::promesh::MeshObject Class Reference

#include <mesh_object.h>

Public Types

typedef Grid::FaceAttachmentAccessor< normal_attachment_tnormal_accessor_t
 
typedef ANormal normal_attachment_t
 
typedef Grid::VertexAttachmentAccessor< position_attachment_tposition_accessor_t
 
typedef APosition position_attachment_t
 
typedef Grid::VolumeAttachmentAccessor< volume_constraint_attachment_tvolume_constraint_accessor_t
 
typedef ANumber volume_constraint_attachment_t
 

Public Member Functions

void clear_volume_constraints ()
 clears the volume constraints (removes the attachment) More...
 
SubsetHandlercrease_handler ()
 
SubsetHandlerget_crease_handler ()
 
Gridget_grid ()
 
const vector3get_pivot () const
 
Selectorget_selector ()
 
SubsetHandlerget_subset_handler ()
 
Gridgrid ()
 
 MeshObject ()
 
normal_accessor_tnormal_accessor ()
 returns accessor to face normals More...
 
normal_attachment_tnormal_attachment ()
 
vector3pivot ()
 
const vector3pivot () const
 
position_accessor_tposition_accessor ()
 returns accessor to vertex positions More...
 
position_attachment_tposition_attachment ()
 
Selectorselector ()
 
void set_pivot (const vector3 &pivot)
 
SubsetHandlersubset_handler ()
 
volume_constraint_accessor_tvolume_constraint_accessor ()
 returns accessor to volume constraints. More...
 
volume_constraint_attachment_tvolume_constraint_attachment ()
 returns the volume constraint attachment More...
 
virtual ~MeshObject ()
 

Protected Member Functions

void volume_constraints_required ()
 

Protected Attributes

normal_accessor_t m_aaNorm
 
position_accessor_t m_aaPos
 
volume_constraint_accessor_t m_aaVolumeConstraint
 
volume_constraint_attachment_t m_aVolumeConstraint
 
SubsetHandler m_creaseHandler
 
Grid m_grid
 
vector3 m_pivot
 
Selector m_selector
 
SubsetHandler m_subsetHandler
 

Member Typedef Documentation

◆ normal_accessor_t

typedef Grid::FaceAttachmentAccessor<normal_attachment_t> ug::promesh::MeshObject::normal_accessor_t

◆ normal_attachment_t

◆ position_accessor_t

◆ position_attachment_t

◆ volume_constraint_accessor_t

◆ volume_constraint_attachment_t

Constructor & Destructor Documentation

◆ MeshObject()

◆ ~MeshObject()

virtual ug::promesh::MeshObject::~MeshObject ( )
inlinevirtual

Member Function Documentation

◆ clear_volume_constraints()

void ug::promesh::MeshObject::clear_volume_constraints ( )
inline

◆ crease_handler()

SubsetHandler& ug::promesh::MeshObject::crease_handler ( )
inline

References m_creaseHandler.

◆ get_crease_handler()

SubsetHandler& ug::promesh::MeshObject::get_crease_handler ( )
inline

References m_creaseHandler.

◆ get_grid()

Grid& ug::promesh::MeshObject::get_grid ( )
inline

References m_grid.

◆ get_pivot()

const vector3& ug::promesh::MeshObject::get_pivot ( ) const
inline

References m_pivot.

◆ get_selector()

Selector& ug::promesh::MeshObject::get_selector ( )
inline

References m_selector.

◆ get_subset_handler()

SubsetHandler& ug::promesh::MeshObject::get_subset_handler ( )
inline

References m_subsetHandler.

◆ grid()

Grid& ug::promesh::MeshObject::grid ( )
inline

References m_grid.

◆ normal_accessor()

normal_accessor_t& ug::promesh::MeshObject::normal_accessor ( )
inline

returns accessor to face normals

References m_aaNorm.

◆ normal_attachment()

normal_attachment_t& ug::promesh::MeshObject::normal_attachment ( )
inline

References ug::aNormal.

◆ pivot() [1/2]

vector3& ug::promesh::MeshObject::pivot ( )
inline

References m_pivot.

Referenced by set_pivot().

◆ pivot() [2/2]

const vector3& ug::promesh::MeshObject::pivot ( ) const
inline

References m_pivot.

◆ position_accessor()

position_accessor_t& ug::promesh::MeshObject::position_accessor ( )
inline

returns accessor to vertex positions

References m_aaPos.

◆ position_attachment()

position_attachment_t& ug::promesh::MeshObject::position_attachment ( )
inline

References ug::aPosition.

◆ selector()

Selector& ug::promesh::MeshObject::selector ( )
inline

References m_selector.

◆ set_pivot()

void ug::promesh::MeshObject::set_pivot ( const vector3 pivot)
inline

References m_pivot, and pivot().

◆ subset_handler()

SubsetHandler& ug::promesh::MeshObject::subset_handler ( )
inline

References m_subsetHandler.

◆ volume_constraint_accessor()

volume_constraint_accessor_t& ug::promesh::MeshObject::volume_constraint_accessor ( )
inline

returns accessor to volume constraints.

References m_aaVolumeConstraint, and volume_constraints_required().

◆ volume_constraint_attachment()

volume_constraint_attachment_t& ug::promesh::MeshObject::volume_constraint_attachment ( )
inline

returns the volume constraint attachment

References m_aVolumeConstraint, and volume_constraints_required().

◆ volume_constraints_required()

Member Data Documentation

◆ m_aaNorm

normal_accessor_t ug::promesh::MeshObject::m_aaNorm
protected

Referenced by MeshObject(), and normal_accessor().

◆ m_aaPos

position_accessor_t ug::promesh::MeshObject::m_aaPos
protected

Referenced by MeshObject(), and position_accessor().

◆ m_aaVolumeConstraint

volume_constraint_accessor_t ug::promesh::MeshObject::m_aaVolumeConstraint
protected

◆ m_aVolumeConstraint

volume_constraint_attachment_t ug::promesh::MeshObject::m_aVolumeConstraint
protected

◆ m_creaseHandler

SubsetHandler ug::promesh::MeshObject::m_creaseHandler
protected

◆ m_grid

Grid ug::promesh::MeshObject::m_grid
protected

◆ m_pivot

vector3 ug::promesh::MeshObject::m_pivot
protected

◆ m_selector

Selector ug::promesh::MeshObject::m_selector
protected

Referenced by get_selector(), MeshObject(), and selector().

◆ m_subsetHandler

SubsetHandler ug::promesh::MeshObject::m_subsetHandler
protected

The documentation for this class was generated from the following file: