View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013616BenderArmatures modulepublic2012-10-30 11:562013-04-02 14:28
ReporterJulien Finet 
Assigned Tojohan andruejol 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version1.0Fixed in Version0.1 
Summary0013616: Add more bone utility functions to vtkArmatureWidget
DescriptionThe following methods might be useful when manipulating bones:
 a) bool HasBone(vtkBoneWidget*);
 b) vtkBoneWidget* GetBoneParent(vtkBoneWidget* child);
 c) vtkCollection* FindBoneChildren(vtkBoneWidget* parent);
 d) void ReparentBone(vtkBoneWidget* bone, vtkBoneWidget* newParent);
 e) void MergeBones(vtkBoneWidget* bone1, vtkBoneWidget* bone);
TagsNo tags attached.
Attached Files

 Relationships
child of 0013671closedJulien Finet Task 1.1) Develop an application for specifying rigging for a voxelized anatomical model. 

  Notes
(0031361)
johan andruejol (developer)
2012-10-31 15:22

Part of it solved with:

https://github.com/vovythevov/Bender/commit/41717cc579c0e999bcd63903e3d95ece5589a6fd [^]
(0031474)
johan andruejol (developer)
2012-11-06 13:26

It would also be nice to have signals after adding/removing a bone.
(0031541)
johan andruejol (developer)
2012-11-13 12:02

d) ReparentBones(..):
https://github.com/vovythevov/Bender/commit/ea2efa289805a6e42c9f838b24b59f9cd08f1afa [^]

f)Events:

https://github.com/vovythevov/Bender/commit/93e3f1b6cba352e28fc4881d62d880bb2bc50973 [^]
(0031542)
johan andruejol (developer)
2012-11-13 15:33

d) ReparentBones(...)

https://github.com/vovythevov/Bender/commit/4c4fba4988d612d7d53504bf66600f4f28b19034 [^]
(0031545)
johan andruejol (developer)
2012-11-13 16:21

g) Add AlwaysOnTop Property
(0031555)
johan andruejol (developer)
2012-11-14 09:38

g) Add AlwaysOnTop Property

https://github.com/vovythevov/Bender/commit/1471531d9105967bf4984460a9ada0b8c46b7d74 [^]
(0031709)
johan andruejol (developer)
2012-11-26 11:36

h)
BoneHasDirectParent(vtkBoneWidget* bone, vtkBoneWidget* parent)
BoneHasParent(vtkBoneWidget* bone, vtkBoneWidget* parent)
(0031711)
Julien Finet (administrator)
2012-11-26 11:56

h) rename to: IsParent(...), IsDirectParent(...) ?
(0031712)
johan andruejol (developer)
2012-11-26 12:36

H) Well you apply it to the armature, so for me it was better to have:
  armature->BoneHasParent(bone, parent);
rather than:
  armature->IsParent(bone, parent);
But it's really a matter of personal opinion. What do you recommend ?
(0031714)
Julien Finet (administrator)
2012-11-26 14:30

Then I guess I would be fine with IsBoneParent()/IsBoneDirectParent().
"Is" is more "VTK" style I believe. Anyway, it's not a big issue.
(0031719)
johan andruejol (developer)
2012-11-26 16:23

h)IsBoneParent
https://github.com/vovythevov/Bender/commit/645c5c68252ba21820a9e6d36c6654a6701c5a24 [^]
https://github.com/vovythevov/Bender/commit/940003c07f353d882bbd2297a1558a11e72c08ea [^]

e)MergeBones
https://github.com/vovythevov/Bender/commit/769f1b6adfcedde8d1fcc939cb7cb10f36429686 [^]
(0031769)
johan andruejol (developer)
2012-11-29 15:52

d)Fix ReparentBones():
https://github.com/vovythevov/Bender/commit/90c53ec28227dd3826a9895e76dc949370f37b19 [^]

e) Fix MergeBones():
https://github.com/vovythevov/Bender/commit/0e22abde5fc374e80fdfb47aff35d9ec546b8eb2 [^]

 Issue History
Date Modified Username Field Change
2012-10-30 11:56 Julien Finet New Issue
2012-10-30 11:56 Julien Finet Status new => assigned
2012-10-30 11:56 Julien Finet Assigned To => johan andruejol
2012-10-31 15:22 johan andruejol Note Added: 0031361
2012-11-06 13:26 johan andruejol Note Added: 0031474
2012-11-09 13:36 Julien Finet Relationship added child of 0013671
2012-11-09 17:22 Julien Finet Description Updated
2012-11-13 12:02 johan andruejol Note Added: 0031541
2012-11-13 15:33 johan andruejol Note Added: 0031542
2012-11-13 16:21 johan andruejol Note Added: 0031545
2012-11-14 09:38 johan andruejol Note Added: 0031555
2012-11-26 11:36 johan andruejol Note Added: 0031709
2012-11-26 11:56 Julien Finet Note Added: 0031711
2012-11-26 12:36 johan andruejol Note Added: 0031712
2012-11-26 14:30 Julien Finet Note Added: 0031714
2012-11-26 14:31 johan andruejol Note Added: 0031715
2012-11-26 14:33 johan andruejol Note Added: 0031716
2012-11-26 16:12 johan andruejol Note Deleted: 0031716
2012-11-26 16:12 johan andruejol Note Deleted: 0031715
2012-11-26 16:23 johan andruejol Note Added: 0031719
2012-11-26 16:23 johan andruejol Status assigned => resolved
2012-11-26 16:23 johan andruejol Resolution open => fixed
2012-11-29 15:51 johan andruejol Status resolved => feedback
2012-11-29 15:51 johan andruejol Resolution fixed => reopened
2012-11-29 15:52 johan andruejol Note Added: 0031769
2012-11-29 15:52 johan andruejol Status feedback => resolved
2012-11-29 15:52 johan andruejol Resolution reopened => fixed
2013-01-17 17:53 Julien Finet Fixed in Version => 0.1
2013-02-14 14:38 Julien Finet Status resolved => closed
2013-02-14 14:44 Julien Finet Category vtkBoneWidgets => Armatures module
2013-04-02 14:28 Julien Finet Target Version => 1.0


Copyright © 2000 - 2018 MantisBT Team