Top | ![]() |
![]() |
![]() |
![]() |
MiaLandmark * | mia_landmark_new () |
void | mia_landmark_set_name () |
const gchar * | mia_landmark_get_name () |
void | mia_landmark_set_location () |
MiaVector3d * | mia_landmark_get_location () |
gfloat | mia_landmark_get_iso_value () |
void | mia_landmark_set_iso_value () |
void | mia_landmark_set_camera () |
MiaCamera * | mia_landmark_get_camera () |
void | mia_landmark_set_picfile () |
const gchar * | mia_landmark_get_picfile () |
gboolean | mia_landmark_xmlio_write () |
MiaLandmark holds the location of a landmark in 3D space. In addition it comprises MiaCamera that describes the best view for visualizing this landmark, and the intensity value in the grayscale data that corresponds to the landmark location and can, hence, be used to properly visualize the iso-surface is landmark can be found on.
In addition, an image file name can be provided that shows the landmark in its anatomical context in an example data set.
MiaLandmark * mia_landmark_new (const gchar *name
,MiaVector3d *location
,float iso
,MiaCamera *camera
,gchar *picfile
);
Create a new landmark with the given characteristics.
void mia_landmark_set_name (MiaLandmark *self
,const gchar *name
);
Rename the landmark.
const gchar *
mia_landmark_get_name (const MiaLandmark *self
);
Get the name of the landmark.
void mia_landmark_set_location (MiaLandmark *self
,MiaVector3d *location
);
Set a new location to the landmark. The old one is unreferenced.
MiaVector3d *
mia_landmark_get_location (const MiaLandmark *self
);
Get the location of the landmark.
gfloat
mia_landmark_get_iso_value (const MiaLandmark *self
);
The iso value corresponds to in the intensity value that can be found at the landmark location.
void mia_landmark_set_iso_value (MiaLandmark *self
,gfloat iso
);
The iso value corresponds to in the intensity value that can be found at the landmark location.
void mia_landmark_set_camera (MiaLandmark *self
,MiaCamera *camera
);
Sets the viewing camera for the landmark. The viewing camera defines a view that has the landmark in its viewing range.
MiaCamera *
mia_landmark_get_camera (const MiaLandmark *self
);
Get the camera defined for this landmark.
void mia_landmark_set_picfile (MiaLandmark *self
,const gchar *picfile
);
The picture is supposed to show the landmark in its anatomical context. The old pictutre file name is replaces and if not then a copy of the string is stored.
const gchar *
mia_landmark_get_picfile (const MiaLandmark *self
);
The picture is supposed to show the landmark in its anatomical context.
gboolean mia_landmark_xmlio_write (xmlNodePtr parent
,xmlNsPtr ns
,const MiaLandmark *lm
);
Stores the landmark as subnode of the given XML parent node.