This reference page is linked to from the following overview topics: FBGeometry - Meshes and Surfaces.
Surface class.
Definition at line 789 of file fbgeometry.h.
#include <fbgeometry.h>
Public Member Functions | |
FBSurface (const char *pName, HIObject pObject=NULL) | |
Constructor. | |
virtual void | SurfaceBegin () |
virtual void | SurfaceEnd () |
virtual void | SurfaceEditBegin () |
virtual void | SurfaceEditEnd () |
virtual bool | GetSurfaceCapped (int pUorV, int pDirection) |
virtual int | GetVertexCount (int pUorVorGlobal=-1) |
virtual void | ControlPointsBegin ()=0 |
virtual void | SetControlPoint (int pIndex, double pX, double pY, double pZ, double pW) |
virtual void | GetControlPoint (int pIndex, double &pX, double &pY, double &pZ, double &pW) |
virtual void | ControlPointsEnd () |
bool | VertexGetSelected (int pU, int pV) |
Get the selected state of a vertex. | |
bool | VertexSetSelected (int pU, int pV, bool pState) |
Set the selected state of a vertex. | |
bool | VertexGetVisible (int pU, int pV) |
Get the visible state of a vertex. | |
bool | VertexSetVisible (int pU, int pV, bool pState) |
Set the visible state of a vertex. | |
bool | VertexGetTransformable (int pU, int pV) |
Get the Transformable state of a vertex. | |
Public Attributes | |
FBPropertyInt | USize |
Read Write Property: Size in U directions. | |
FBPropertyInt | VSize |
Read Write Property: Size in V directions. | |
FBPropertyInt | UStep |
Read Write Property: Step in U directions. | |
FBPropertyInt | VStep |
Read Write Property: Step in V directions. | |
FBPropertyBool | UClosed |
Read Write Property: U Closed. | |
FBPropertyBool | VClosed |
Read Write Property: V Closed | |
FBPropertySurfaceMode | SurfaceMode |
Read Write Property: Surface mode. |
FBSurface | ( | const char * | pName, |
HIObject | pObject = NULL |
||
) |
Constructor.
pName | Name of Surface. |
pObject | For internal use only(default=NULL). |
virtual void SurfaceBegin | ( | ) | [virtual] |
virtual void SurfaceEnd | ( | ) | [virtual] |
virtual void SurfaceEditBegin | ( | ) | [virtual] |
virtual void SurfaceEditEnd | ( | ) | [virtual] |
virtual bool GetSurfaceCapped | ( | int | pUorV, |
int | pDirection | ||
) | [virtual] |
virtual int GetVertexCount | ( | int | pUorVorGlobal = -1 | ) | [virtual] |
virtual void ControlPointsBegin | ( | ) | [pure virtual] |
virtual void SetControlPoint | ( | int | pIndex, |
double | pX, | ||
double | pY, | ||
double | pZ, | ||
double | pW | ||
) | [virtual] |
virtual void GetControlPoint | ( | int | pIndex, |
double & | pX, | ||
double & | pY, | ||
double & | pZ, | ||
double & | pW | ||
) | [virtual] |
virtual void ControlPointsEnd | ( | ) | [virtual] |
bool VertexGetSelected | ( | int | pU, |
int | pV | ||
) |
Get the selected state of a vertex.
pU | The u index of the vertex. |
pV | The v index of the vertex. |
bool VertexSetSelected | ( | int | pU, |
int | pV, | ||
bool | pState | ||
) |
Set the selected state of a vertex.
pU | The u index of the vertex. |
pV | The v index of the vertex. |
pState | Set the select state. |
bool VertexGetVisible | ( | int | pU, |
int | pV | ||
) |
Get the visible state of a vertex.
pU | The u index of the vertex. |
pV | The v index of the vertex. |
bool VertexSetVisible | ( | int | pU, |
int | pV, | ||
bool | pState | ||
) |
Set the visible state of a vertex.
pU | The u index of the vertex. |
pV | The v index of the vertex. |
pState | Set the visible state. |
bool VertexGetTransformable | ( | int | pU, |
int | pV | ||
) |
Get the Transformable state of a vertex.
pU | The u index of the vertex. |
pV | The v index of the vertex. |
Read Write Property: Size in U directions.
Definition at line 848 of file fbgeometry.h.
Read Write Property: Size in V directions.
Definition at line 849 of file fbgeometry.h.
Read Write Property: Step in U directions.
Definition at line 850 of file fbgeometry.h.
Read Write Property: Step in V directions.
Definition at line 851 of file fbgeometry.h.
Read Write Property: U Closed.
Definition at line 852 of file fbgeometry.h.
Read Write Property: V Closed
Definition at line 853 of file fbgeometry.h.
FBPropertySurfaceMode SurfaceMode |
Read Write Property: Surface mode.
Definition at line 854 of file fbgeometry.h.