[vtk-developers] 2D DrawImage() API

Marcus D. Hanwell marcus.hanwell at kitware.com
Wed Aug 4 14:54:29 EDT 2010


Hi Eric,

I didn't see that bug report, looks reasonable. Committed and pushed, bug
report resolved. Please reopen if there are any further issues.

Marcus

On Wed, Aug 4, 2010 at 2:46 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:

> Hey Marcus,
>
> Thanks a lot for getting around to that -- I appreciate it. (I seem to be
> having another problem that's keeping me from testing your new commit, but
> I'll let you know if I have any problems with it. From the diff it looks
> like it will work well for me.)
>
> Now I think the only outstanding issue that keeps me from using the master
> branch is this little issue with vtkChartXY.cxx
>
> http://vtk.org/Bug/view.php?id=10806
>
> If you could take a look at it sometime it would be wonderful.
>
> Thanks again,
> -Eric
>
>
> On Aug 4, 2010, at 1:45 PM, Marcus D. Hanwell wrote:
>
> Hi Eric,
>
> Sorry, this slipped a little longer than it should have. I have pushed a
> commit today adding image scaling to the API. I retained the original
> function signature, and added a new one where a scale can be applied
> (commit 6e5f596). Let me know if this does not satisfy your requirements for
> some reason.
>
> Thanks,
>
> Marcus
>
> On Tue, Jun 8, 2010 at 11:36 AM, Eric E. Monson <emonson at cs.duke.edu>wrote:
>
>> Thanks, Marcus -- I really appreciate it. This will make things a lot
>> easier for me.
>>
>> I can't decide whether a multiplicative scaling factor or a "target size"
>> solution where it would automatically scale the image so the longest
>> dimension would fit into that size box would be better. Probably the former
>> is more generic for that type of low-level routine and people can just
>> calculate a scaling factor on the front end to adapt the size...
>>
>> Thanks again for putting this in your queue, and if you think of it,
>> please let me know when you push these changes,
>>
>> -Eric
>>
>> On Jun 8, 2010, at 11:10 AM, Marcus D. Hanwell wrote:
>>
>> Hi Eric,
>>
>> On Tue, Jun 8, 2010 at 8:50 AM, Eric E. Monson <emonson at cs.duke.edu>wrote:
>>
>>> Just a little update. So far a simple change like this has worked and
>>> been very useful for me (sorry to just send a diff in the email, but it
>>> seemed like the clearest way to get across my idea):
>>>
>>
>>  This seems like a reasonable change to me, I think you are one of the
>> heaviest image users other than me right now. I don't have time right now,
>> but I have added this to my list of emails to follow up on. I will try to
>> get this integrated into VTK in the next few days. Either verbatim, or
>> slightly modified to fit with some other work and wrapping.
>>
>> Thanks,
>>
>> Marcus
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100804/75f554cf/attachment.html>


More information about the vtk-developers mailing list