#include <pixelViewport.h>
Public Member Functions | |
| void | invalidate () |
| Invalidates the pixel viewport. | |
| bool | isValid () const |
| bool | hasArea () const |
| uint32_t | getArea () const |
Constructors | |
| PixelViewport () | |
| PixelViewport (const int32_t x_, const int32_t y_, const int32_t w_, const int32_t h_) | |
Operators | |
| void | apply (const Viewport &rhs) |
| void | apply (const Pixel &pixel) |
| void | apply (const Zoom &zoom) |
| const PixelViewport | getSubPVP (const Viewport &rhs) const |
| const Viewport | getSubVP (const PixelViewport &rhs) const |
| const Zoom | getZoom (const PixelViewport &rhs) const |
| int32_t | getXEnd () const |
| int32_t | getYEnd () const |
| const PixelViewport | operator+ (const Vector2i &offset) const |
| const PixelViewport | operator* (const eq::Pixel &pixel) const |
| PixelViewport & | operator*= (const eq::Pixel &pixel) |
| bool | operator== (const PixelViewport &rhs) const |
| bool | operator!= (const PixelViewport &rhs) const |
| void | merge (const PixelViewport &rhs) |
| create a pixel viewport that includes both viewports (union) | |
| void | intersect (const PixelViewport &rhs) |
| create the intersection pixel viewport | |
Tests | |
| int32_t | x |
| int32_t | y |
| int32_t | w |
| int32_t | h |
| bool | isPointInside (const int32_t pX, const int32_t pY) const |
Definition at line 37 of file pixelViewport.h.
| bool eq::PixelViewport::isValid | ( | ) | const [inline] |
Definition at line 60 of file pixelViewport.h.
Referenced by eq::Window::configInit(), eq::WGLPipe::configInit(), eq::AGLWindow::configInitAGLFullscreen(), eq::WGLWindow::configInitWGLPBuffer(), intersect(), eq::server::Channel::notifyViewportChanged(), eq::server::Window::setPixelViewport(), eq::server::Channel::setPixelViewport(), and eq::FrameData::startReadback().
| bool eq::PixelViewport::hasArea | ( | ) | const [inline] |
Definition at line 66 of file pixelViewport.h.
Referenced by eq::Viewport::applyView(), eq::Channel::applyViewport(), intersect(), merge(), eq::server::Window::notifyViewportChanged(), eq::server::Pipe::setPixelViewport(), and eq::Channel::setupAssemblyState().
| uint32_t eq::PixelViewport::getArea | ( | ) | const [inline] |
Definition at line 69 of file pixelViewport.h.
Referenced by eq::Image::getPixelDataSize(), eq::Compositor::mergeFramesCPU(), and eq::ROITracker::useROIFinder().
| int32_t eq::PixelViewport::getXEnd | ( | ) | const [inline] |
Definition at line 172 of file pixelViewport.h.
Referenced by eq::Channel::drawStatistics(), eq::Channel::getScreenFrustum(), and eq::Channel::outlineViewport().
| int32_t eq::PixelViewport::getYEnd | ( | ) | const [inline] |
Definition at line 175 of file pixelViewport.h.
Referenced by eq::Channel::drawStatistics(), eq::Channel::getScreenFrustum(), and eq::Channel::outlineViewport().
| bool eq::PixelViewport::isPointInside | ( | const int32_t | pX, | |
| const int32_t | pY | |||
| ) | const [inline] |
Definition at line 266 of file pixelViewport.h.
Referenced by eq::Window::getRenderContext().
0.9 by
1.5.8