cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
svlRect Struct Reference

#include <svlTypes.h>

Inheritance diagram for svlRect:
svlShape

Public Member Functions

 svlRect ()
 
 svlRect (int left, int top, int right, int bottom)
 
virtual svlShapeClone ()
 
virtual bool IsWithin (int x, int y) const
 
virtual void GetBoundingRect (svlRect &rect) const
 
void Assign (const svlRect &rect)
 
void Assign (int left, int top, int right, int bottom)
 
void Normalize ()
 
void Trim (const int minx, const int maxx, const int miny, const int maxy)
 
- Public Member Functions inherited from svlShape
virtual ~svlShape ()
 

Public Attributes

int left
 
int top
 
int right
 
int bottom
 

Constructor & Destructor Documentation

svlRect::svlRect ( )
svlRect::svlRect ( int  left,
int  top,
int  right,
int  bottom 
)

Member Function Documentation

void svlRect::Assign ( const svlRect rect)
void svlRect::Assign ( int  left,
int  top,
int  right,
int  bottom 
)
virtual svlShape* svlRect::Clone ( )
virtual

Implements svlShape.

virtual void svlRect::GetBoundingRect ( svlRect rect) const
virtual

Implements svlShape.

virtual bool svlRect::IsWithin ( int  x,
int  y 
) const
virtual

Implements svlShape.

void svlRect::Normalize ( )
void svlRect::Trim ( const int  minx,
const int  maxx,
const int  miny,
const int  maxy 
)

Member Data Documentation

int svlRect::bottom
int svlRect::left
int svlRect::right
int svlRect::top

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