Documentation ¶
Index ¶
- Constants
- func Change(m Mesh, nb, eb bool, nodes, elements *[]uint, update func()) (w vl.Widget)
- func FixMesh(mesh Mesh)
- func NewGroupTree(mesh Mesh, closedApp *bool, actions *chan ds.Action) (gt vl.Widget, initialization func(), err error)
- func SaveGroup(gr Group) (bs []byte, err error)
- type Copy
- type Group
- type GroupIndex
- type GroupTest
- type Idable
- type Mesh
- type Meta
- type Named
- type NamedList
- type NodeSupports
Constants ¶
View Source
const ( NamedIndex GroupIndex = 80 NamedListIndex = 100 NodeSupportsIndex = 1000 MetaIndex = 10000 CopyIndex = 10100 )
Variables ¶
This section is empty.
Functions ¶
func NewGroupTree ¶
Types ¶
type Copy ¶
func (Copy) GetGroupIndex ¶
func (c Copy) GetGroupIndex() GroupIndex
type Group ¶
type Group interface { // UniqueId of group, only for save/parse of group SetUniqueId(id int) GetUniqueId() int // update root group SetRoot(root Mesh) // operations with group GetGroupIndex() GroupIndex String() string Update(updating func(nodes, elements *[]uint)) // update nodes, elements indexes GetWidget(updateTree func(detail Group)) (_ vl.Widget) // return gui widget }
func ParseGroup ¶
ParseGroup return group from json
type GroupIndex ¶
type GroupIndex uint16
max uint16: 65535
func (GroupIndex) String ¶
func (gi GroupIndex) String() string
type GroupTest ¶
type GroupTest struct {
// contains filtered or unexported fields
}
func (GroupTest) GetRootGroup ¶
func (GroupTest) GetSelected ¶
type Meta ¶
func (Meta) GetGroupIndex ¶
func (m Meta) GetGroupIndex() GroupIndex
type Named ¶
func (Named) GetGroupIndex ¶
func (m Named) GetGroupIndex() GroupIndex
type NamedList ¶
func (NamedList) GetGroupIndex ¶
func (m NamedList) GetGroupIndex() GroupIndex
type NodeSupports ¶
func (NodeSupports) GetGroupIndex ¶
func (m NodeSupports) GetGroupIndex() GroupIndex
func (*NodeSupports) GetWidget ¶
func (m *NodeSupports) GetWidget(updateTree func(gr Group)) (w vl.Widget)
func (NodeSupports) String ¶
func (m NodeSupports) String() (name string)
func (*NodeSupports) Update ¶
func (m *NodeSupports) Update(updating func(nodes, elements *[]uint))
Click to show internal directories.
Click to hide internal directories.