Public Member Functions | Public Attributes

FBSurface Class Reference

This reference page is linked to from the following overview topics: FBGeometry - Meshes and Surfaces.


Search for all occurrences

Detailed Description

Surface class.

Definition at line 789 of file fbgeometry.h.

#include <fbgeometry.h>

Inheritance diagram for FBSurface:
Inheritance graph
[legend]

List of all members.

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.

Constructor & Destructor Documentation

FBSurface ( const char *  pName,
HIObject  pObject = NULL 
)

Constructor.

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

Member Function Documentation

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.

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

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.


The documentation for this class was generated from the following file:

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