[vtkusers] Render/mapping progress

Amy Squillacote amy.squillacote at kitware.com
Mon Nov 13 09:08:42 EST 2006


Hi Patrick,

I'm copying you're message back to the vtkusers list so other people can 
help answer your question and so the discussion is archived for future 
reference by others in the VTK community.

I don't know the reason for the other volume mappers not having progress.

- Amy

Patrick D. Emond wrote:
> Thanks for the help, Amy.
>
> Do you happen to know why progress tracking has never been built into 
> any of the other volume mappers?  In particular the texture mappers?
>
> Cheers,
> Patrick
>
> Amy Squillacote wrote:
>> Hi Patrick,
>>
>> vtkFixedPointVolumeRayCastMapper may be the only one that directly 
>> invokes a vtkCommand::ProgressEvent. However, several mappers call 
>> UpdateProgress (implemented in vtkAlgorithm), which also invokes a 
>> ProgressEvent. Not necessarily all mappers have progress events, but 
>> several of them do. In VTK 5.0, the mappers that have progress events 
>> are:
>>
>> vtkFixedPointVolumeRayCastMapper
>> vtkProjectedTetrahedraMapper
>> vtkUnstructuredGridVolumeRayCastMapper
>> vtkUnstructuredGridVolumeZSweepMapper
>> vtkOpenGLPolyDataMapper
>>
>> - Amy
>>
>> Patrick D. Emond wrote:
>>> Hello all,
>>>
>>> I was looking into how to add observers to a mapper's progress and 
>>> from what I can tell the only mapper class that invokes progress 
>>> events is vtkFixedPointVolumeRayCastMapper through a macro in 
>>> vtkFixedPointVolumeRayCastHelper.h called 
>>> VTKKWRCHelper_IncrementAndLoopEnd()
>>>
>>> I was wondering if anyone out there knows why there are no progress 
>>> events invoked in any other mappers.  My first thought was to go 
>>> ahead and try to figure out how to implement them, but before I go 
>>> to the trouble I wanted to know if there is a good reason why this 
>>> has never been done.
>>>
>>> Cheers,
>>> Patrick
>>> _______________________________________________
>>> This is the private VTK discussion list. Please keep messages 
>>> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>
>



More information about the vtkusers mailing list