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 236 of file fbrenderer.h.

#include <fbrenderer.h>

List of all members.

Public Member Functions

  FBPickInfos (HFBModel pModel, FBVector3d pPoint)
  FBPickInfos.

Public Attributes

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

Constructor & Destructor Documentation

FBPickInfos ( HFBModel  pModel,
FBVector3d  pPoint 
) [inline]

FBPickInfos.

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

Definition at line 241 of file fbrenderer.h.

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

Member Data Documentation

HFBModel mModel

Model picked.

Definition at line 241 of file fbrenderer.h.

Location of the pick on the model.

Definition at line 243 of file fbrenderer.h.


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