33#ifndef __H__UG__mesh_object__
34#define __H__UG__mesh_object__
bool access(Grid &grid, TAttachment &a)
void attach_to_vertices(IAttachment &attachment)
void detach_from_volumes(IAttachment &attachment)
void attach_to_faces(IAttachment &attachment)
void attach_to_volumes(IAttachment &attachment)
void assign_grid(Grid &grid)
void enable_strict_inheritance(bool bEnable)
SubsetInfo & subset_info(int subsetIndex)
void assign_grid(Grid &grid)
Definition mesh_object.h:47
position_accessor_t m_aaPos
Definition mesh_object.h:137
SubsetHandler m_subsetHandler
Definition mesh_object.h:134
Grid & grid()
Definition mesh_object.h:80
normal_accessor_t & normal_accessor()
returns accessor to face normals
Definition mesh_object.h:97
normal_attachment_t & normal_attachment()
Definition mesh_object.h:98
ANumber volume_constraint_attachment_t
Definition mesh_object.h:55
SubsetHandler & subset_handler()
Definition mesh_object.h:81
SubsetHandler & get_crease_handler()
Definition mesh_object.h:77
Selector & selector()
Definition mesh_object.h:83
Grid::FaceAttachmentAccessor< normal_attachment_t > normal_accessor_t
Definition mesh_object.h:53
Grid::VolumeAttachmentAccessor< volume_constraint_attachment_t > volume_constraint_accessor_t
Definition mesh_object.h:56
position_attachment_t & position_attachment()
Definition mesh_object.h:94
vector3 m_pivot
Definition mesh_object.h:139
Selector m_selector
Definition mesh_object.h:136
const vector3 & get_pivot() const
Definition mesh_object.h:87
void volume_constraints_required()
Definition mesh_object.h:124
const vector3 & pivot() const
Definition mesh_object.h:90
virtual ~MeshObject()
Definition mesh_object.h:73
ANormal normal_attachment_t
Definition mesh_object.h:52
void set_pivot(const vector3 &pivot)
Definition mesh_object.h:86
void clear_volume_constraints()
clears the volume constraints (removes the attachment)
Definition mesh_object.h:115
Grid::VertexAttachmentAccessor< position_attachment_t > position_accessor_t
Definition mesh_object.h:50
volume_constraint_attachment_t m_aVolumeConstraint
Definition mesh_object.h:140
Grid m_grid
Definition mesh_object.h:133
volume_constraint_attachment_t & volume_constraint_attachment()
returns the volume constraint attachment
Definition mesh_object.h:108
Selector & get_selector()
Definition mesh_object.h:78
SubsetHandler m_creaseHandler
Definition mesh_object.h:135
position_accessor_t & position_accessor()
returns accessor to vertex positions
Definition mesh_object.h:93
volume_constraint_accessor_t m_aaVolumeConstraint
Definition mesh_object.h:141
SubsetHandler & get_subset_handler()
Definition mesh_object.h:76
Grid & get_grid()
Definition mesh_object.h:75
vector3 & pivot()
Definition mesh_object.h:89
volume_constraint_accessor_t & volume_constraint_accessor()
returns accessor to volume constraints.
Definition mesh_object.h:101
MeshObject()
Definition mesh_object.h:58
APosition position_attachment_t
Definition mesh_object.h:49
normal_accessor_t m_aaNorm
Definition mesh_object.h:138
SubsetHandler & crease_handler()
Definition mesh_object.h:82
MathVector< 3, number > vector3
ANormal aNormal("normal", true)
APosition aPosition("position", true)