|
Digital Image Correlation Engine
Version 1.0
A modular, high-performance, image correlation tool used to compute full-field displacements and strains from digital images
|
A rectangle is a DICe::Shape defined by a centroid and an x and y size. More...
#include <DICe_Shape.h>
Public Member Functions | |
| Rectangle (const int_t centroid_x, const int_t centroid_y, const int_t width, const int_t height) | |
| Constructor. More... | |
| virtual std::set< std::pair< int_t, int_t > > | get_owned_pixels (Teuchos::RCP< Local_Shape_Function > shape_function=Teuchos::null, const int_t cx=0, const int_t cy=0, const scalar_t skin_factor=1.0) const |
| See base class documentation. | |
| virtual void | deactivate_pixels (const int_t size, bool *pixel_flags, int_t *x_coords, int_t *y_coords) const |
| See base class documentation. | |
Private Attributes | |
| int_t | centroid_x_ |
| Center global x-coordinate. | |
| int_t | centroid_y_ |
| Center global y-coordinate. | |
| int_t | width_ |
| Width of the rectangle. | |
| int_t | height_ |
| Height of the rectangle. | |
| int_t | origin_x_ |
| Origin is the upper left corner (needed if the rectangle is of an even dimension) | |
| int_t | origin_y_ |
| Origin is the upper left corner. | |
A rectangle is a DICe::Shape defined by a centroid and an x and y size.
| DICe::Rectangle::Rectangle | ( | const int_t | centroid_x, |
| const int_t | centroid_y, | ||
| const int_t | width, | ||
| const int_t | height | ||
| ) |
Constructor.
| centroid_x | integer valued global x-coordinate for the center |
| centroid_y | integer valued global y-coordinate for the center |
| width | integer valued width of the rectangle |
| height | integer valued height of the rectangle |
1.8.16