MantisBT - VTK
View Issue Details
0009762VTK(No Category)public2009-10-22 07:092016-08-12 09:55
helend 
Kitware Robot 
normalminorhave not tried
closedmoved 
 
 
0009762: The function vtkAssembly::ShallowCopy can not work
This function can not work for my program.

The original code:
for (int i=0; i<0; i++)
{
    this->Parts->AddItem(a->Parts->GetNextProp3D(pit));
}

It seems no any Prop3D is added to this vtkAssembly.

So, I change these codes to:

vtkProp3D * p = a->Parts->GetNextProp3D(pit);
while (p)
{
   this->Parts->AddItem(p);
   p = a->Parts->GetNextProp3D(pit);
}

It works for me now.
No tags attached.
Issue History
2009-10-22 07:09helendNew Issue
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:55Kitware RobotNote Added: 0037113
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionopen => moved
2016-08-12 09:55Kitware RobotAssigned To => Kitware Robot

Notes
(0037113)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.