Changeset 6568 for vtkvis/trunk/Renderer.cpp
- Timestamp:
- Nov 3, 2016, 10:57:57 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vtkvis/trunk/Renderer.cpp
r6554 r6568 76 76 _needsCameraClippingRangeReset(false), 77 77 _needsCameraReset(false), 78 _idleTimeout(-1L), 78 79 _windowWidth(500), 79 80 _windowHeight(500), … … 4646 4647 4647 4648 /** 4649 * \brief Get a timeout for select() 4650 * 4651 * For now, this just returns the idle timeout, if set. 4652 * 4653 * Potentially, this could be used to set a timeout based on the "unused" frame 4654 * time from the previous render based on a target frame rate (and polling if 4655 * we broke frame). 4656 */ 4657 void Renderer::getTimeout(struct timeval *tv) 4658 { 4659 tv->tv_sec = _idleTimeout; 4660 tv->tv_usec = 0L; 4661 } 4662 4663 /** 4648 4664 * \brief Cause the rendering to render a new image if needed 4649 4665 *
Note: See TracChangeset
for help on using the changeset viewer.