| 
    Open CASCADE Technology 7.8.2.dev
    
   | 
 
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).   | |
| bool | IsValid () const | 
| Return true if Tile has been defined.   | |
| Graphic3d_Vec2i | OffsetLowerLeft () const | 
| Return offset position from lower-left corner.   | |
| Graphic3d_CameraTile | Cropped () const | 
| Return the copy cropped by total size.   | |
| bool | operator== (const Graphic3d_CameraTile &theOther) const | 
| Equality check.   | |
| void | DumpJson (Standard_OStream &theOStream, Standard_Integer theDepth=-1) const | 
| Dumps the content of me into the stream.   | |
Data Fields | |
| Graphic3d_Vec2i | TotalSize | 
| total size of the View area, in pixels   | |
| Graphic3d_Vec2i | TileSize | 
| size of the Tile, in pixels   | |
| Graphic3d_Vec2i | Offset | 
| the lower-left corner of the Tile relative to the View area (or upper-left if IsTopDown is true), in pixels   | |
| bool | IsTopDown | 
| indicate the offset coordinate system - lower-left (default) or top-down   | |
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.
| void Graphic3d_CameraTile::DumpJson | ( | Standard_OStream & | theOStream, | 
| Standard_Integer | theDepth = -1  | 
        ||
| ) | const | 
Dumps the content of me into the stream.
      
  | 
  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