[vtkusers] Selected cells not visible
Alex Malyushytskyy
alexmalvtk at gmail.com
Wed Feb 13 18:38:52 EST 2013
It looks like I was mistaken and it prints number of vtkSelectionNode
s which may be a valid number in this case,
but as I understand example was supposed to color selection (assign
red color ) and I do not see this happen.
On Wed, Feb 13, 2013 at 3:21 PM, Alex Malyushytskyy
<alexmalvtk at gmail.com> wrote:
> I phrased it incorrectly.
>
> Selection ( visible triangles ) should have at least 3 nodes and in
> reality more , depending on the on the point of view.
> unless I misunderstand something which is fairly possible.
>
> Alex
>
> On Wed, Feb 13, 2013 at 3:13 PM, Alex Malyushytskyy
> <alexmalvtk at gmail.com> wrote:
>> Check that you window does not have anti-aliasing
>>
>> In C++ and mentioned above example it is set with line :
>> renderWindow->SetMultiSamples(0);
>>
>> I am not sure that
>> http://www.cmake.org/Wiki/VTK/Examples/Cxx/Filtering/ExtractVisibleCells
>> works as expected at least at my vtk version.
>>
>> Initiating selection over sphere and over bacjground always prints
>> "Selection has 2 nodes",
>> Even though if it were supposed to select cells I would expect it to
>> be 3 nodes cause sphere is built from triangles.
>>
>>
>> Alex
>>
>> On Wed, Feb 13, 2013 at 12:26 PM, -Daniel- <ich_daniel at habmalnefrage.de> wrote:
>>> I included the following line
>>> selector.SetFieldAssociation(1);
>>>
>>> But this solved not the problem. My selected cells are still invisible. (but
>>> nodes founded..)
>>>
>>>
>>>
>>> --
>>> View this message in context: http://vtk.1045678.n5.nabble.com/Selected-cells-not-visible-tp5718419p5718506.html
>>> Sent from the VTK - Users mailing list archive at Nabble.com.
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at 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
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list