Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeViewModel" /> class.
 /// </summary>
 /// <param name="pos">The position.</param>
 /// <param name="id">The identifier.</param>
 public TreeViewModel(VRPosition pos, int id)
 {
     this.treeModel = new TreeModel(pos, id);
     this.Model = this.treeModel;
 }
Beispiel #2
0
 public void SetUp()
 {
     position = new VRPosition(100, 100, 230);
     tree = new TreeModel(position, 10);
 }
Beispiel #3
0
 public void SetUp()
 {
     position1 = new VRPosition(42, 42, 42);
     treeModel = new TreeModel(position1, 0);
 }