[vtkusers] Mac OS X related questions
Raphael Sebbe
sebbe at multitel.be
Tue Jul 16 10:38:55 EDT 2002
OK, that's the way to go. I try to only use that as a last resort (and
-framework Cocoa is obviously not a good example).
Yet, there are some special cases, for example, Tcl headers in OS X are
located in 2 different places and it is not clear to me how to tell that
to CMake, which only asks for one path.
Raphael Sebbe
On Tuesday, July 16, 2002, at 04:22 PM, William A. Hoffman wrote:
> You should never edit the Makefiles manually. CMake can re-write them
> if a single file changes. Each time dependencies are computed the
> Makefiles are re-built. All editing should be in the CMakeCache.txt
> file.
>
> -Bill
>
>
> At 04:01 PM 7/16/2002 +0200, Raphael Sebbe wrote:
>> Hi,
>>
>> you can compile VTK using the Cocoa backend instead of Carbon. Just
>> run cmake -i, say OFF to Carbon and ON to Cocoa. You'll have to edit
>> some Makefiles manually to add -framework Cocoa in the link step.
>>
>> It definitely works from a Cocoa application and from what I've seen
>> so far, it should even be possible (perhaps tricky) to add a VTK view
>> inside a custom window. You just have to use Objective C++ files (.mm,
>> instead of regular .m ObjC files) and make the appropriate calls, as:
>>
>> vtkRenderWindow *renWin = vtkRenderWindow::New();
>> vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();
>> iren->SetRenderWindow(renWin);
>> ...
>>
>> Raphael Sebbe
>>
>>
>> On Tuesday, July 16, 2002, at 12:42 PM, vtkusers-
>> request at public.kitware.com wrote:
>>
>>> Date: Tue, 16 Jul 2002 11:47:59 +0200
>>> From: Drew McCormack <cormack at chem.vu.nl>
>>> To: vtkusers at public.kitware.com
>>> Subject: [vtkusers] Mac OS X related questions
>>>
>>> I've just installed VTK on Mac OS X, and am looking forward to
>>> learning
>>> it. I had a few questions I was hoping I could get answered:
>>>
>>> 1) VTK works under Carbon or X-windows, but does anyone know if anyone
>>> is working on integrating it with Cocoa? Is it possible to take the
>>> VTK
>>> output and display it in a cocoa window?
>>>
>>> 2) Is there support in VTK for exporting movies, for example in one or
>>> other MPEG format? Is there any support for Quicktime? If not, how do
>>> people make movies with VTK? Do they just grab the screen while the
>>> VTK
>>> animation is running?
>>>
>>> I guess some of these questions would be answered in a text book,
>>> which
>>> is next on my list of things to buy, but the OS X related questions
>>> probably aren't. I'd be much obliged to anyone that can fill me in.
>>>
>>> Thanks,
>>> Drew
>>
>> _______________________________________________
>> This is the private VTK discussion list. Please keep messages
>> on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list