[Paraview] Where did vtkMultiGroupDataSet go?

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Mar 24 14:43:15 EDT 2008


It's not needed anymore. If you are associating any meta-data with any 
mode in the multiblock dataset, simply use 
vtkCompositeDataSet::GetMetaData() to obtain the vtkInformation in which 
you can store the meta-data for that node.

Utkarsh

Mike Jackson wrote:
> Thanks.. Looks like I am going to use the vtkMultiBlockDataSet as the 
> basis for my data.
> 
> I am writing a custom reader in ParaView 3(CVS HEAD) and I have started 
> the porting process of the old code. One of the first things that I hit 
> was this bit of code:
> 
>   vtkMultiGroupDataInformation* groupInfo = 
> vtkMultiGroupDataInformation::New();
>   groupInfo->SetNumberOfGroups(2);   // Assuming you have 2 members
>   vtkInformation* outInfo = outputVector->GetInformationObject(0);
>   outInfo->Set(vtkCompositeDataPipeline::COMPOSITE_DATA_INFORMATION(), 
> groupInfo);
>   
> outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(), 
> 1);
>   groupInfo->Delete();
> 
> Is there a substitute for this or is this code even needed anymore?
> 
> 
> --Mike Jackson   Senior Research Engineer
> Innovative Management & Technology Services
> 
> 
> On Mar 24, 2008, at 1:01 PM, Utkarsh Ayachit wrote:
>> Filters/Readers/Sources primarily have two choices:
>> * vtkMultiBlockDataSet
>> * vtkHierarhicalBoxDataSet
>>
>> For any dataset comprising of unstructured grids, vtkMutliBlockDataSet 
>> is the way to go. vtkHierarchicalBoxDataSet can only be used for AMR 
>> data.
>>
>> Utkarsh
>>
>> Mike Jackson wrote:
>>> Our data is read from a custom data file which contains multiple time 
>>> steps of unstructured grid data. We also produce from the data file 
>>> an outline of the data. (the outline is needed because the data comes 
>>> from a internal rotated coordinate system). So basically for any 
>>> given timestep I will have 1 unstructed grid and one polydata object.
>>>   Any suggestions on which of the new classes would be best to use?
>>> --Mike Jackson   Senior Research Engineer
>>> Innovative Management & Technology Services
>>> On Mar 12, 2008, at 11:22 AM, Utkarsh Ayachit wrote:
>>>> vtMutliGroupDataSet has been deprecated. Please refer to the 
>>>> following Wiki for details:
>>>> http://www.vtk.org/Wiki/VTK/Composite_Data_Redesign
>>>>
>>>> Generally, the replacement for vtkMultiGroupDataSet would be 
>>>> vtkMultiBlockDataSet, but it depends on your application: whether 
>>>> the data is AMR or not.
>>>>
>>>> Utkarsh
>>>>
>>>> Mike Jackson wrote:
>>>>> I am trying to update a set of filters/readers from PV 2.6.x to PV 
>>>>> 3 CVS and it seems that the vtkMultiGroupDataSet class is not 
>>>>> around any more? What would be the replacement for that class?
>>>>> Doing a "find . -type f -name "vtkMultiGroupDataSet*" " in the 
>>>>> paraview cvs source tree didn't seem to turn anything up.
>>>>> Thanks
>>>>> --Mike Jackson
>>>>> imikejackson & gmail * com
>>>>> _______________________________________________
>>>>> ParaView mailing list
>>>>> ParaView at paraview.org
>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>> _______________________________________________
>>> ParaView mailing list
>>> ParaView at paraview.org
>>> http://www.paraview.org/mailman/listinfo/paraview
> 
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
> 


More information about the ParaView mailing list