[vtkusers] Adopt an example

Darshan Pai darshanpai at gmail.com
Wed Aug 18 16:42:17 EDT 2010


VectorDot example .

I don't think the output is wrong . The Values should be -1 . This is
because the vtkVectorDot initial scalar range is from -1 to 1 . And the
class does not generate the dot product values but rather generate scalar
values based off dot product . Since the example generates only one value
that is 1, it is mapped to the lower range of scalar .

If you set the scalar range of vtkVectorDot to say (3,6) , the output is 3,
which should be correct right ?


Darshan

On Wed, Aug 18, 2010 at 4:00 PM, David Doria
<daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> wrote:

> On Wed, Aug 18, 2010 at 3:53 PM, Darshan Pai <darshanpai at gmail.com> wrote:
>
>> I looked at the Actor2D . It was not exactly broken . The points were just
>> too close to each other and cramped up on the left bottom corner . I guess
>> in 2D view the window acts like a canvas of pixels hence the regular camera
>> events don't work . I changed the values and increased the point width so
>> that it is easily noticeable . Please verify it and move it out of broken if
>> it is alright
>>
>>
> Awesome! Thanks for checking it out. I moved it to here (there is really no
> other 2D stuff, so I put it with Images):
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/Actor2D
>
> <http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/Actor2D>Keep them coming!
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100818/857f0b4b/attachment.htm>


More information about the vtkusers mailing list