Public Member Functions | Public Attributes

FBPickInfos Struct Reference

This reference page is linked to from the following overview topics: Data types & properties.


Search for all occurrences

Detailed Description

Picking information structure.

This class holds information related to the picking action on a renderer.

Sample C++ code:

       FBPickInfosList lList;
       FBSystem lSystem;
       HFBRenderer lRenderer = lSystem.Renderer;
       lRenderer->Pick( 200, 200, lList );
   
       int lIdx;
       for( lIdx = 0; lIdx < lList.GetCount(); ++lIdx )
       {
           FBString lName = "aNull ";
           lName += (char*)lList[lIdx].mModel->Name;
   
           HFBModelNull lNull = new FBModelNull( lName );
           lNull->Visible = true;
           lNull->Translation = lList[lIdx].mPoint;
       }

FBPickInfos

Definition at line 248 of file fbrenderer.h.

#include <fbrenderer.h>

List of all members.

Public Member Functions

  FBPickInfos (FBModel *pModel, FBVector3d pPoint)
  FBPickInfos.

Public Attributes

FBModel mModel
  Model picked.
FBVector3d  mPoint
  Location of the pick on the model.

Constructor & Destructor Documentation

FBPickInfos ( FBModel pModel,
FBVector3d  pPoint 
) [inline]

FBPickInfos.

Parameters:
pModel a handel to the model(FBModel*).
pPoint a point (FBVector3d).

Definition at line 253 of file fbrenderer.h.

: mModel( pModel ), mPoint( pPoint ) {};

Member Data Documentation

Model picked.

Definition at line 253 of file fbrenderer.h.

Location of the pick on the model.

Definition at line 255 of file fbrenderer.h.


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