[vtkusers] Re: Some question of the using of vtkWin32VideoSource

David Gobbi dgobbi at irus.rri.on.ca
Tue May 22 12:02:33 EDT 2001


Hi Zhang,

For descriptions of SetFrameRate, SetFrameSize, and the other
methods see the documentation or look at vtkWin32VideoSource.h
and vtkVideoSource.h.

 - David

On Tue, 22 May 2001, zhangzhijun wrote:

> David:
>           Now my program are working very well when I add
> ReleaseSystemResources()
> in the Delete() functions of my class. But I don't know why before I use the
> ~vtkWin32VideoSource()
> function to do this, it doesnt' work. Maybe in the ~vtkWin32VideoSource()
> the
> ReleaseSystemResource() fuction is not called. Here is my MFC code for the
> video display:
> In the Document class I opened a serial port and read the Fastrak 3D sensor
> data. and
> when the serial port is opened , a working thread is also created to read
> data. and
> every time a serial data is read the update function of the view class will
> refresh the view window
> and show the video frame.
>           Also I dont' know whether there will be some space to optimise the
> display of the windows
> cos I dont' know very well how the parameters in the functions like
> SetFrameBufferSize,
> SerNumberOfOutputFrames ,SetFrameRate ,SetFrameSize will be set. So I want
> to know
> how to make best use of these parameters.





More information about the vtkusers mailing list