R: Re: [Paraview] Accessing VTK data from a Paraview plugin

Miron Sadziak miron at will.brl.ntt.co.jp
Thu Feb 21 04:11:05 EST 2008


It works. Thank you !


David E DeMarle さんは書きました:
>>  vtkSMClientDeliveryRepresentationProxy*
>>  rep=vtkSMClientDeliveryRepresentationProxy::New(); //Thats probably not
>>  right yet
>>     
>
> You are correct. Instead of creating the representation manually, ask
> the proxy manager to create it representation for you. That way the
> things managed by the proxy will be created where they need to be and
> initialized properly.
>
> vtkSMProxyManager *pm = vtkSMObject::GetProxyManager();
>
> vtkSMClientDeliveryRepresentationProxy *rep =
> vtkSMClientDeliveryRepresentationProxy::SafeDownCast(pm->NewProxy("representations","ClientDeliveryRepresentation"));
>
> Or something close to that.
>
>   



More information about the ParaView mailing list