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
vector3 & pivot()
Definition: mesh_object.h:89
volume_constraint_accessor_t & volume_constraint_accessor()
returns accessor to volume constraints.
Definition: mesh_object.h:101
ANumber volume_constraint_attachment_t
Definition: mesh_object.h:55
normal_attachment_t & normal_attachment()
Definition: mesh_object.h:98
Grid::FaceAttachmentAccessor< normal_attachment_t > normal_accessor_t
Definition: mesh_object.h:53
Grid & get_grid()
Definition: mesh_object.h:75
Grid::VolumeAttachmentAccessor< volume_constraint_attachment_t > volume_constraint_accessor_t
Definition: mesh_object.h:56
Selector & selector()
Definition: mesh_object.h:83
SubsetHandler & crease_handler()
Definition: mesh_object.h:82
vector3 m_pivot
Definition: mesh_object.h:139
const vector3 & get_pivot() const
Definition: mesh_object.h:87
position_accessor_t & position_accessor()
returns accessor to vertex positions
Definition: mesh_object.h:93
volume_constraint_attachment_t & volume_constraint_attachment()
returns the volume constraint attachment
Definition: mesh_object.h:108
Selector m_selector
Definition: mesh_object.h:136
void volume_constraints_required()
Definition: mesh_object.h:124
Grid & grid()
Definition: mesh_object.h:80
virtual ~MeshObject()
Definition: mesh_object.h:73
ANormal normal_attachment_t
Definition: mesh_object.h:52
SubsetHandler & get_subset_handler()
Definition: mesh_object.h:76
SubsetHandler & get_crease_handler()
Definition: mesh_object.h:77
void set_pivot(const vector3 &pivot)
Definition: mesh_object.h:86
Selector & get_selector()
Definition: mesh_object.h:78
position_attachment_t & position_attachment()
Definition: mesh_object.h:94
SubsetHandler & subset_handler()
Definition: mesh_object.h:81
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
normal_accessor_t & normal_accessor()
returns accessor to face normals
Definition: mesh_object.h:97
Grid m_grid
Definition: mesh_object.h:133
SubsetHandler m_creaseHandler
Definition: mesh_object.h:135
volume_constraint_accessor_t m_aaVolumeConstraint
Definition: mesh_object.h:141
MeshObject()
Definition: mesh_object.h:58
APosition position_attachment_t
Definition: mesh_object.h:49
const vector3 & pivot() const
Definition: mesh_object.h:90
normal_accessor_t m_aaNorm
Definition: mesh_object.h:138
MathVector< 3, number > vector3
ANormal aNormal("normal", true)
APosition aPosition("position", true)