#include <ImagePlane.h>
This class contains a couple of methods for initalization and computing the image plane.
Public Member Functions | |
ImagePlane (void) | |
This is the standard constructor. | |
ImagePlane (Vector3 *n_LeftUpper, Vector3 *n_RightUpper, Vector3 *n_LeftBottom, Vector3 *n_RightBottom, short n_Resolution, unsigned short n_VolumeDimension __gc[]) | |
This constructor initalized the image plane with the given parameters. | |
ImagePlane (Vector3 *n_LeftUpper, Vector3 *n_RightUpper, Vector3 *n_LeftBottom, Vector3 *n_RightBottom, short n_Resolution, Vector3 *n_ViewDirection, unsigned short n_VolumeDimension __gc[]) | |
This constructor initalized the image plane with the given parameters. | |
ImagePlane (ImagePlane *n_ImagePlane) | |
This constructor initalized the image plane with a given image plane. | |
void | calculateRayDistance (void) |
Calculates the ray dstance. | |
void | calculateViewDirection (void) |
Calculates the vie direction. | |
void | calculateNewParameters (void) |
Calculates the view direction, the width and height of the image plane and the ray distance. | |
Vector3 * | calculateMiddlePoint (void) |
Calculates the middle point of the image plane. | |
Vector3 * | calculateDefaultMiddlePoint (void) |
calculates the default middle point of the image plane. | |
double | calculateDistance (Vector3 *n_Point) |
calculates the distance of the image plane with a given point. | |
void | calculateNullPoint (void) |
Calculates the null point. | |
void | calculateNullPointMiddlePoint (void) |
Calculates the vector between the null point and the middle point. | |
void | transformImagePlane (void) |
Does all image plane transformations according to the transform-, rotate- and scale matrix. | |
__property double | get_Width (void) |
Returns the width of the image plane. | |
__property double | get_Heigth (void) |
Returns the height of the image plane. | |
__property double | get_Resolution (void) |
Returns the resolution of the image plane. | |
__property Vector3 * | get_ViewDirection (void) |
Returns the view direction of the image plane. | |
__property double | get_RayDistanceWidth (void) |
Returns the horizontal distance of two adjacent rays. | |
__property double | get_RayDistanceHeigth (void) |
Returns the vertical distance of two adjacent rays. | |
__property Vector3 * | get_NullPoint (void) |
Returns the null point of the image plane. | |
__property Vector3 * | get_NullPointMiddlePoint (void) |
Returns the vector between the null point and the middle point of the image plane. | |
__property Matrix4 * | get_TranslateMatrix (void) |
Returns the translate matrix of the image plane. | |
__property Matrix4 * | get_RotMatrix (void) |
Returns the rotate matrix of the image plane. | |
__property Matrix4 * | get_ScaleMatrix (void) |
Returns the scale matrix of the image plane. | |
__property unsigned short | get_VolumeDimension (void) __gc[] |
Returns the volume dimension of the dataset. | |
__property Vector3 * | get_DefaultPoints (void)[] |
Returns the default points of the image plane. | |
__property Vector3 * | get_TransformedPoints (void)[] |
Returns the transformed points of the image plane. | |
__property void | set_Width (double n_SideLength) |
Sets the width of the image plane. | |
__property void | set_Heigth (double n_SideLength) |
Sets the height of the image plane. | |
__property void | set_Resolution (double n_Resolution) |
Sets the resolution of the image plane. | |
__property void | set_TranslateMatrix (Matrix4 *n_TranslateMatrix) |
Sets the translate matrix of the image plane. | |
__property void | set_RotMatrix (Matrix4 *n_RotMatrix) |
Sets the rotate matrix of the image plane. | |
__property void | set_ScaleMatrix (Matrix4 *n_ScaleMatrix) |
Sets the scale matrix of the image plane. | |
__property void | set_ViewDirection (Vector3 *n_ViewDirection) |
Sets the view direction of the image plane. | |
Vector3 * | getHorizontalViewVector (void) |
__property void set_VolumeDimension(unsigned short n_VolumeDimension __gc[]); | |
Vector3 * | getVerticalViewVector (void) |
Returns the vertical view vector of the image plane. | |
Vector3 * | getCurrentLeftUpperPoint (void) |
Returns the current left upper point of the image plane. | |
Vector3 * | getCurrentRightBottomPoint (void) |
Returns the current right bottom point of the image plane. | |
Vector3 * | getCurrentLeftBottomPoint (void) |
Returns the current left bottom point of the image plane. | |
Vector3 * | getCurrentRightUpperPoint (void) |
Returns the current right upper point of the image plane. | |
Vector3 * | getDefaultLeftUpperPoint (void) |
Returns the default left upper point of the image plane. | |
Vector3 * | getDefaultRightBottomPoint (void) |
Returns the default right bottom point of the image plane. | |
Vector3 * | getDefaultLeftBottomPoint (void) |
Returns the default left bottom point of the image plane. | |
Vector3 * | getDefaultRightUpperPoint (void) |
Returns the default right upper point of the image plane. | |
Vector3 * | getDefaultPoints (void) __gc[] |
Returns the default points of the image plane. | |
Vector3 * | getDistanceFromOrigin (void) |
Returns the distance between the null point and the middle point of the image plane. | |
void | setDefaultLeftUpperPoint (Vector3 *n_LeftUpper) |
Sets the default left upper point. | |
void | setDefaultRightBottomPoint (Vector3 *n_RightBottom) |
Sets the default right bottom point. | |
void | setDefaultLeftBottomPoint (Vector3 *n_LeftBottom) |
Sets the default left bottom point. | |
void | setDefaultRightUpperPoint (Vector3 *n_RightUpper) |
Sets the default right upper point. | |
void | modifyTranslateMatrix (Matrix4 *n_TranslateMatrix) |
Multiplies the translate matrix of the image plane with the given translate matrix. | |
void | modifyRotMatrix (Matrix4 *n_RotMatrix) |
Multiplies the rotate matrix of the image plane with the given rotate matrix. | |
void | modifyScaleMatrix (Matrix4 *n_ScaleMatrix) |
Multiplies the scale matrix of the image plane with the given scale matrix. | |
void | resetMatrices (void) |
Sets the identity matrix for the translate-, rotate- and scale martrix of the image plane. | |
void | resetPoints (void) |
Resets the transformed points to the default points of the image palne. | |
bool | sameSide (Vector3 *n_Vector1, Vector3 *n_Vector2) |
Desides if two vectors are on the same side of the image plane. | |
Private Attributes | |
double | m_Width |
The width of the image plane. | |
double | m_Heigth |
The height of the image plane. | |
double | m_Resolution |
The resolution of the image plane. | |
double | m_RayDistanceWidth |
The horizontal distance of two adjacent rays. | |
double | m_RayDistanceHeigth |
The vertical distance of two adjacent rays. | |
unsigned short m_VolumeDimension | __gc [] |
The dimension of the volume data. | |
Vector3 * | m_DefaultPoints [] |
The default points of the image plane. | |
Vector3 * | m_ViewDirection |
The view direction of the image plane. | |
Vector3 * | m_TransformedPoints [] |
The transformed points of the image plane. | |
Vector3 * | m_NullPointMiddlePoint |
The vector between the null point and the middle point. | |
Vector3 * | m_NullPoint |
The point on the image plane, which is the intersection point between the image plane and the straight line, which contains the middle point of the volume and is perpendicular to the image plane. | |
Matrix4 * | m_TranslateMatrix |
The translation matrix of the image plane. | |
Matrix4 * | m_RotMatrix |
The rotation matrix of the image plane. | |
Matrix4 * | m_ScaleMatrix |
The scale matrix of the image plane. |
|
This is the standard constructor. This standard constructor initialzed all elements with zero. |
|
This constructor initalized the image plane with the given parameters.
|
|
This constructor initalized the image plane with the given parameters.
|
|
This constructor initalized the image plane with a given image plane.
|
|
calculates the default middle point of the image plane.
|
|
calculates the distance of the image plane with a given point.
|
|
Calculates the middle point of the image plane.
|
|
Calculates the view direction, the width and height of the image plane and the ray distance.
|
|
Calculates the null point.
|
|
Calculates the vector between the null point and the middle point.
|
|
Calculates the ray dstance.
|
|
Calculates the vie direction.
|
|
Returns the default points of the image plane.
|
|
Returns the height of the image plane.
|
|
Returns the null point of the image plane.
|
|
Returns the vector between the null point and the middle point of the image plane.
|
|
Returns the vertical distance of two adjacent rays.
|
|
Returns the horizontal distance of two adjacent rays.
|
|
Returns the resolution of the image plane.
|
|
Returns the rotate matrix of the image plane.
|
|
Returns the scale matrix of the image plane.
|
|
Returns the transformed points of the image plane.
|
|
Returns the translate matrix of the image plane.
|
|
Returns the view direction of the image plane.
|
|
Returns the volume dimension of the dataset.
|
|
Returns the width of the image plane.
|
|
Returns the current left bottom point of the image plane.
|
|
Returns the current left upper point of the image plane.
|
|
Returns the current right bottom point of the image plane.
|
|
Returns the current right upper point of the image plane.
|
|
Returns the default left bottom point of the image plane.
|
|
Returns the default left upper point of the image plane.
|
|
Returns the default points of the image plane.
|
|
Returns the default right bottom point of the image plane.
|
|
Returns the default right upper point of the image plane.
|
|
Returns the distance between the null point and the middle point of the image plane.
|
|
__property void set_VolumeDimension(unsigned short n_VolumeDimension __gc[]); /** Returns the horizontal view vector of the image plane.
|
|
Returns the vertical view vector of the image plane.
|
|
Multiplies the rotate matrix of the image plane with the given rotate matrix.
|
|
Multiplies the scale matrix of the image plane with the given scale matrix.
|
|
Multiplies the translate matrix of the image plane with the given translate matrix.
|
|
Desides if two vectors are on the same side of the image plane.
|
|
Sets the height of the image plane.
|
|
Sets the resolution of the image plane.
|
|
Sets the rotate matrix of the image plane.
|
|
Sets the scale matrix of the image plane.
|
|
Sets the translate matrix of the image plane.
|
|
Sets the view direction of the image plane.
|
|
Sets the width of the image plane.
|
|
Sets the default left bottom point.
|
|
Sets the default left upper point.
|
|
Sets the default right bottom point.
|
|
Sets the default right upper point.
|
|
Does all image plane transformations according to the transform-, rotate- and scale matrix.
|