[vtk-developers] vtkDataObject::SetPipelineInformation not in VTK 6.0

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Feb 1 10:15:23 EST 2013


It's no longer needed in the use-case you mention.

Just use:

if(!out)
{
  ...
  out = SomeDataTypeClass::New();
  outInfo->Set(vtkDataObject::DATA_OBJECT(),out);
  output->FastDelete();
  ...
}



On Fri, Feb 1, 2013 at 1:58 AM, Sunrise <helios.corona at gmail.com> wrote:
> Hello,
>
> I have noticed that vtkDataObject::SetPipelineInformation(vtkInformation *)
> is no longer exists in VTK v.6. I used this method inside RequestDataObject
> as following:
>
> if(!out)
> {
>   ...
>   out = SomeDataTypeClass::New();
>   outInfo->Set(vtkDataObject::DATA_OBJECT(),out);
>   output->FastDelete();
>   output->SetPipelineInformation(outputInfo);
>   ...
> }
>
> How should I change it to be compatible with VTK 6? Should I use
> vtkDataObject::SetInformation(vtkInformation *) ?
>
> I appreciate your helps.
>
> -Sunrise
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>



More information about the vtk-developers mailing list