Small class containing the data for a hit of an intersection between a ray and a part in an MarkupModel. More...
Public Member Functions | |
MarkupModelHitItem () | |
Constructs an empty hit item. More... | |
size_t | partIndex () const |
Returns the index of the hit part. More... | |
void | setPartIndex (size_t index) |
Sets the part index. More... | |
Vec3d | intersectionPoint () const |
Returns the intersection point. More... | |
void | setIntersectionPoint (const Vec3d &intersectionPoint) |
Sets the intersection point. More... | |
size_t | partSubIndex () const |
Returns the sub index of the hit part. More... | |
void | setPartSubIndex (size_t subIndex) |
Sets the part sub index. More... | |
double | distanceAlongRay () const |
Returns the distance along the ray. More... | |
void | setDistanceAlongRay (double distance) |
Sets the distance along the ray. More... | |
Small class containing the data for a hit of an intersection between a ray and a part in an MarkupModel.
cee::vis::MarkupModelHitItem::MarkupModelHitItem | ( | ) |
Constructs an empty hit item.
double cee::vis::MarkupModelHitItem::distanceAlongRay | ( | ) | const |
Returns the distance along the ray.
cee::Vec3d cee::vis::MarkupModelHitItem::intersectionPoint | ( | ) | const |
Returns the intersection point.
size_t cee::vis::MarkupModelHitItem::partIndex | ( | ) | const |
Returns the index of the hit part.
size_t cee::vis::MarkupModelHitItem::partSubIndex | ( | ) | const |
Returns the sub index of the hit part.
void cee::vis::MarkupModelHitItem::setDistanceAlongRay | ( | double | distance | ) |
Sets the distance along the ray.
void cee::vis::MarkupModelHitItem::setIntersectionPoint | ( | const Vec3d & | intersectionPoint | ) |
Sets the intersection point.
void cee::vis::MarkupModelHitItem::setPartIndex | ( | size_t | index | ) |
Sets the part index.
void cee::vis::MarkupModelHitItem::setPartSubIndex | ( | size_t | subIndex | ) |
Sets the part sub index.