[vtkusers] actor not showing

Bill Lorensen bill.lorensen at gmail.com
Fri Jun 28 13:19:44 EDT 2013


I agree with David. Try to make an example that can be compiled and that
illustrates the problem.

It is hard and time consuming to debug code snippets.



On Fri, Jun 28, 2013 at 1:03 PM, Johnson <jgadel2 at uic.edu> wrote:

> Hi David,
> I know the data is correctly read, the reasons for that:
> 1) I can do slicing for the same data with no problems, I can draw 3
> orthogonal slices from the same source
> 2) I had a different implementation of the pipeline, it was implemented in
> the for loop, this was memory consuming, which is why I had to take the
> pipeline out of the for loop and leave the choice of the label value as
> well as the actor inside the loop
> 3) I can save a separate file for each label and re-read it in PARAVIEW
>
> I tried to pass the marching cube output to the mapper then the actor
> without the rest of the pipeline with no luck
> Thanks
> Johnson
>
> On 6/28/2013 8:21 AM, David Doria wrote:
>
>> On Thu, Jun 27, 2013 at 10:31 PM, johnsonjonaris <jgadel2 at uic.edu> wrote:
>>
>>> Dear All
>>> I made a pipeline which visualize a set of shapes from a vtkImageData
>>> volume
>>> with integral data (integer values). The pipeline executes but the
>>> output is
>>> not rendered in the rendering window, although I can save the output and
>>> load it in PARAVIEW.
>>> Moreover, I know that the actors I create are there since I can probe
>>> their
>>> color property later.
>>> Please help
>>>
>> I would suggest taking that example that you posted and stripping it
>> down a piece at a time until it breaks. That is, make the actor use
>> the data from the very beginning of the pipeline and see if it is
>> displayed properly at that point. Then add one filter at a time until
>> it breaks. Once you get it to as small of a case as possible that
>> demonstrates the problem, we can take a look if you still can't figure
>> it out. Be sure to generate data programmatically rather than read an
>> input file as it is much easier to reproduce.
>>
>> David
>>
>>
> ______________________________**_________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_**FAQ <http://www.vtk.org/Wiki/VTK_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/**listinfo/vtkusers<http://www.vtk.org/mailman/listinfo/vtkusers>
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130628/12d9c88e/attachment.htm>


More information about the vtkusers mailing list