FBSurface Class Reference


Detailed Description

Surface class.

Inheritance diagram for FBSurface:

List of all members.

Public Member Functions

 __init__ (str pName, object pObject=None)
 Constructor.
 SurfaceBegin ()
 SurfaceEnd ()
 SurfaceEditBegin ()
 SurfaceEditEnd ()
bool GetSurfaceCapped (int pUorV, int pDirection)
int GetVertexCount (int pUorVorGlobal=-1)
 ControlPointsBegin ()
 SetControlPoint (int pIndex, float pX, float pY, float pZ, float pW)
 GetControlPoint (int pIndex, float pX, float pY, float pZ, float pW)
 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

FBPropertyBase USize
 Read Write Property: Size in U directions.
FBPropertyBase VSize
 Read Write Property: Size in V directions.
FBPropertyBase UStep
 Read Write Property: Step in U directions.
FBPropertyBase VStep
 Read Write Property: Step in V directions.
FBPropertyBase UClosed
 Read Write Property: U Closed.
FBPropertyBase VClosed
 Read Write Property: V Closed.
FBPropertySurfaceMode SurfaceMode
 Read Write Property: Surface mode.

Member Function Documentation

__init__ ( str  pName,
object  pObject = None 
)

Constructor.

Parameters:
pNameName of Surface.
pObjectFor internal use only(default=NULL).

Reimplemented from FBGeometry.

Reimplemented in FBNurbs, and FBPatch.

SurfaceBegin ( )
SurfaceEnd ( )
SurfaceEditBegin ( )
SurfaceEditEnd ( )
bool GetSurfaceCapped ( int  pUorV,
int  pDirection 
)
int GetVertexCount ( int  pUorVorGlobal = -1)
ControlPointsBegin ( )
SetControlPoint ( int  pIndex,
float  pX,
float  pY,
float  pZ,
float  pW 
)
GetControlPoint ( int  pIndex,
float  pX,
float  pY,
float  pZ,
float  pW 
)
ControlPointsEnd ( )
bool VertexGetSelected ( int  pU,
int  pV 
)

Get the selected state of a vertex.

Parameters:
pUThe u index of the vertex.
pVThe v index of the vertex.
Returns:
true if the vertex is selected, false if not.
bool VertexSetSelected ( int  pU,
int  pV,
bool  pState 
)

Set the selected state of a vertex.

Parameters:
pUThe u index of the vertex.
pVThe v index of the vertex.
pStateSet the select state.
Returns:
true if the vertex is selected, false if not.
bool VertexGetVisible ( int  pU,
int  pV 
)

Get the visible state of a vertex.

Parameters:
pUThe u index of the vertex.
pVThe v index of the vertex.
Returns:
true if the vertex is visible, false if not.
bool VertexSetVisible ( int  pU,
int  pV,
bool  pState 
)

Set the visible state of a vertex.

Parameters:
pUThe u index of the vertex.
pVThe v index of the vertex.
pStateSet the visible state.
Returns:
true if the vertex is visible, false if not.
bool VertexGetTransformable ( int  pU,
int  pV 
)

Get the Transformable state of a vertex.

Parameters:
pUThe u index of the vertex.
pVThe v index of the vertex.
Returns:
true if the vertex is Transformable, false if not.

Member Data Documentation

FBPropertyBase USize

Read Write Property: Size in U directions.

FBPropertyBase VSize

Read Write Property: Size in V directions.

FBPropertyBase UStep

Read Write Property: Step in U directions.

FBPropertyBase VStep

Read Write Property: Step in V directions.

FBPropertyBase UClosed

Read Write Property: U Closed.

FBPropertyBase VClosed

Read Write Property: V Closed.

FBPropertySurfaceMode SurfaceMode

Read Write Property: Surface mode.


FBSurface FBSurface FBSurface FBSurface FBSurface FBSurface FBSurface FBSurface FBSurface FBSurface
FBSurface FBSurface FBSurface FBSurface FBSurface FBSurface FBSurface FBSurface FBSurface FBSurface