#include <StreamlinePiece.h>
Public Methods | |
float | CalcDifVLen () |
Calculates difference of vector lengths of samplepoints. | |
float | CalcDifOrient () |
Calculates difference in samplepoint vector orientation. | |
CStreamlinePiece () | |
Standard constructor. | |
CStreamlinePiece (CSamplePoint *startPoint, CSamplePoint *endPoint, int index, CStreamline *streamline) | |
Initialises piece with startpoint, endpoint, streamline index, streamline pointer. | |
float | GetStartPZPos () |
Returns x-position of samplepoint startpoint. | |
float | GetStartPYPos () |
Returns y-position of samplepoint startpoint. | |
float | GetStartPXPos () |
Returns z-position of samplepoint startpoint. | |
CStreamline * | GetStreamline () |
Retruns pointer to streamline containing piece. | |
virtual | ~CStreamlinePiece () |
Public Attributes | |
CSamplePoint * | m_EndPoint |
Endpoint of piece. | |
CSamplePoint * | m_StartPoint |
Startpoint of piece. | |
CStreamline * | m_Streamline |
Pointer to streamline containing piece. | |
int | m_Index |
Piece index for transparency function table. | |
GLubyte | m_Color [4] |
Base color of streamline piece. | |
float | m_LineWidth |
Line width of streamline piece. | |
byte | m_RegIndex |
Region index of streamline piece. | |
bool | m_IsDraw |
Should streamline be drawn ? | |
bool | m_IsInside |
Is streamline in context ? | |
int | m_ResIndex |
Resolution index. | |
int | m_EndTapIndex |
End-tapering index. | |
bool | m_IsLineStart |
Flag which indicates that piece is start of a streamline. |
Class representing a piece of a streamline consisting of a start samplepoint, an end samplepoint and display information