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 2351 of file fbmodel.h.

#include <fbmodel.h>

Inheritance diagram for FBSurface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  IObject_Declare (Implementation)
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.

Member Function Documentation

IObject_Declare ( Implementation  )
virtual void SurfaceBegin ( ) [virtual]

Reimplemented in FBNurbs, and FBPatch.

virtual void SurfaceEnd ( ) [virtual]

Reimplemented in FBNurbs, and FBPatch.

virtual void SurfaceEditBegin ( ) [virtual]

Reimplemented in FBNurbs, and FBPatch.

virtual void SurfaceEditEnd ( ) [virtual]

Reimplemented in FBNurbs, and FBPatch.

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]

Reimplemented in FBNurbs, and FBPatch.

bool VertexGetSelected ( int  pU,
int  pV 
)

Get the selected state of a vertex.

Parameters:
pU The u index of the vertex.
pV The 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:
pU The u index of the vertex.
pV The v index of the vertex.
pState Set 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:
pU The u index of the vertex.
pV The 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:
pU The u index of the vertex.
pV The v index of the vertex.
pState Set 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:
pU The u index of the vertex.
pV The 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 2413 of file fbmodel.h.

Read Write Property: Size in V directions.

Definition at line 2414 of file fbmodel.h.

Read Write Property: Step in U directions.

Definition at line 2415 of file fbmodel.h.

Read Write Property: Step in V directions.

Definition at line 2416 of file fbmodel.h.

Read Write Property: U Closed.

Definition at line 2417 of file fbmodel.h.

Read Write Property: V Closed

Definition at line 2418 of file fbmodel.h.

FBPropertySurfaceMode SurfaceMode

Read Write Property: Surface mode.

Definition at line 2419 of file fbmodel.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