CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::LayoutRegion Struct Reference

#include <cxLayoutData.h>

Public Member Functions

 LayoutRegion ()
 
 LayoutRegion (int r, int c, int rSpan=1, int cSpan=1)
 
bool contains (LayoutPosition p) const
 

Public Attributes

LayoutPosition pos
 start position of region More...
 
LayoutPosition span
 size of region More...
 

Detailed Description

Definition at line 40 of file cxLayoutData.h.

Constructor & Destructor Documentation

cx::LayoutRegion::LayoutRegion ( )
inline

Definition at line 42 of file cxLayoutData.h.

cx::LayoutRegion::LayoutRegion ( int  r,
int  c,
int  rSpan = 1,
int  cSpan = 1 
)
inline

Definition at line 43 of file cxLayoutData.h.

Member Function Documentation

bool cx::LayoutRegion::contains ( LayoutPosition  p) const
inline

Definition at line 48 of file cxLayoutData.h.

Member Data Documentation

LayoutPosition cx::LayoutRegion::pos

start position of region

Definition at line 45 of file cxLayoutData.h.

LayoutPosition cx::LayoutRegion::span

size of region

Definition at line 46 of file cxLayoutData.h.


The documentation for this struct was generated from the following file: