Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Attributes | List of all members
GeometryIntersectionPath Struct Reference

Structure corresponding to a transparency path. More...

Public Attributes

GeometryIntersectionnearest
 first intersection in the list, i.e. the nearest to the eye
 
GeometryIntersectionfurthest
 last intersection in the list, i.e. the furthest from the eye
 
unsigned int length
 length of the path, i.e. the number of elements in the list
 
double tfar
 the far clip plane
 

Detailed Description

Structure corresponding to a transparency path.

It contains a list of intersections and has pointers to its head and tail. It also knows the length of the list and the maximum distance.

Note
The maximum distance can be different from the distance of the last element in the list. It is initialized with the value of the far clip plane and is refined each time an intersection is added into the list. The refinement depends on the maximum number of intersections accepted in the list and their opacity.

Member Data Documentation

GeometryIntersection* GeometryIntersectionPath::furthest

last intersection in the list, i.e. the furthest from the eye

unsigned int GeometryIntersectionPath::length

length of the path, i.e. the number of elements in the list

GeometryIntersection* GeometryIntersectionPath::nearest

first intersection in the list, i.e. the nearest to the eye

double GeometryIntersectionPath::tfar

the far clip plane