Data Members:
enum eDRAWMODE
{
FLOWLINES,
WIREFRAME,
SHADE,
BOTH
};
Methods defined here:
void SetShadeMode(Sid, DRAWMODE)
Set surface shading mode
Returns: None
Parameters:
unsigned int Sid: surface id
VibPlot3D::eDRAWMODE DRAWMODE: surface shading mode (FLOWLINES, WIREFRAME, SHADE, BOTH)
void SetFlow(Sid, nS, nT)
Set number of flow lines to draw
Returns: None
Parameters:
unsigned int Sid: surface id
unsigned int Ns: number of lines to draw
unsigned int NT: number of lines to draw
void SetPoints(Sid, Ns, NT)
Set number of points for the flow lines
Returns: None
Parameters:
unsigned int Sid: surface id
unsigned int Ns: number of points to use
unsigned int NT: number of points to use
void SetAxis(OnOff)
Set the state of axis
Returns: None
Parameters:
bool OnOff: state of axis
void SetTriad(OnOff)
Set the state of triad
Returns: None
Parameters:
bool OnOff: state of triad
void SetTextureMap(Sid, fName)
Set the texture map of the given surface
Returns: None
Parameters:
unsigned int Sid: surface id
string fName: file name of the texture map
void SetColor(Sid, Color)
Set the color of the given surface
Returns: None
Parameters:
unsigned int Sid: surface id
QColor Color: color to use
uint AddSurfaceData(Mat2D, orderS, orderT)
Add a surface to the plot by fitting the given data
Returns:
unsigned int sID: surface id
Parameters:
AvAPI_Matrix Mat2D: data points to fit
int orders: order to use in the S direction
int orderT: order to use in the T direction
uint AddSurface(Mat3D, orders, orderT, sKnot, tKnot)
Add a surface to the plot
Returns:
unsigned int Sid: surface id
Parameters:
AvAPI_Matrix Mat3D: control points
int orders: order to use in the S direction
int orderT: order to use in the T direction
AvAPI_Matrix sKnot: knot vector
AvAPI_Matrix tKnot: knot vector
uint AddSpline(Mat2D, order, Knot)
Add a surface to the plot
Returns:
unsigned int cID: spline id
Parameters:
AvAPI_Matrix Mat2D: control points (x, y, z)
int order: order to use
AvAPI_Matrix Knot: knot vector
uint AddSplineData(Mat2D, order)
Add a spline to the plot by fitting the given data
Returns:
unsigned int cid: spline id
Parameters:
AvAPI_Matrix Mat2D: data points to fit
int order: order to use
void Remove(cid)
Delete a spline or surface from the plot
Returns: None
Parameters:
unsigned int cid: spline or surface id
Constructors:
VibPlot3D()
Constructor
Returns: object
Parameters: None