Open CASCADE Technology
7.1.0.beta
|
Class defines the area (Tile) inside a view. More...
#include <Graphic3d_CameraTile.hxx>
Public Member Functions | |
Graphic3d_CameraTile () | |
Default constructor. Initializes the empty Tile of zero size and lower-left offset orientation. Such Tile is considered uninitialized (invalid). More... | |
bool | IsValid () const |
Return true if Tile has been defined. More... | |
Graphic3d_Vec2i | OffsetLowerLeft () const |
Return offset position from lower-left corner. More... | |
Graphic3d_CameraTile | Cropped () const |
Return the copy cropped by total size. More... | |
bool | operator== (const Graphic3d_CameraTile &theOther) const |
Equality check. More... | |
Data Fields | |
Graphic3d_Vec2i | TotalSize |
total size of the View area, in pixels More... | |
Graphic3d_Vec2i | TileSize |
size of the Tile, in pixels More... | |
Graphic3d_Vec2i | Offset |
the lower-left corner of the Tile relative to the View area (or upper-left if IsTopDown is true), in pixels More... | |
bool | IsTopDown |
indicate the offset coordinate system - lower-left (default) or top-down More... | |
Class defines the area (Tile) inside a view.
|
inline |
Default constructor. Initializes the empty Tile of zero size and lower-left offset orientation. Such Tile is considered uninitialized (invalid).
|
inline |
Return the copy cropped by total size.
|
inline |
Return true if Tile has been defined.
|
inline |
Return offset position from lower-left corner.
|
inline |
Equality check.
bool Graphic3d_CameraTile::IsTopDown |
indicate the offset coordinate system - lower-left (default) or top-down
Graphic3d_Vec2i Graphic3d_CameraTile::Offset |
the lower-left corner of the Tile relative to the View area (or upper-left if IsTopDown is true), in pixels
Graphic3d_Vec2i Graphic3d_CameraTile::TileSize |
size of the Tile, in pixels
Graphic3d_Vec2i Graphic3d_CameraTile::TotalSize |
total size of the View area, in pixels