| 27 | } |
| 28 | |
| 29 | void vtkAssemblyPath::AddNode(vtkProp* p, vtkMatrix4x4* m) |
| 30 | { |
| 31 | vtkAssemblyNode* n = vtkAssemblyNode::New(); |
| 32 | n->SetViewProp(p); |
| 33 | n->SetMatrix(m); // really a copy because we're gonna compute with it |
| 34 | this->AddNode(n); |
| 35 | n->Delete(); // ok reference counted |
| 36 | } |
| 37 | |
| 38 | void vtkAssemblyPath::AddNode(vtkAssemblyNode* n) |
| 39 | { |