Squeak Class Documentation category index | class index  
 
B3DPickerEngine
  category: Balloon3D-Engine
  superclass: B3DRenderEngine
  subclasses:

No comment. Sorry.

instance methods
  initialize
  flush
initialize
loadFrom:

  picking
  pickAt:extent:
render:
topMostObject
topMostVertex

  private-rendering
  primComputeMinIndexZ:vtxArray:vtxSize:idxArray:idxSize:
primComputeMinZ:vtxArray:vtxSize:idxArray:idxSize:
privateTransformVB:
processIndexed:
processIndexedLines:
processIndexedQuads:
processIndexedTriangles:
processLineLoop:
processLines:
processNonIndexed:
processPoints:
processPolygon:
processVertexBuffer:
renderPrimitive

class methods
  no messages
 

instance methods
  initialize top  
 

flush

Ignored


 

initialize

Do not call super initialize here. We get our components directly by the creating engine.


 

loadFrom:

Load our components from the given render engine.
The idea is that all of the state is shared so that transformations
send during picking will be preserved in the given render engine.


  picking top  
 

pickAt:extent:

Initialize the receiver for picking at the given point using the given extent.


 

render:


 

topMostObject

Return the top most of all picked objects


 

topMostVertex

Return the top most primitive vertex of all picked objects.
Note: Except from the z value the vertex is *not* normalized yet
(e.g., there was no division by w)


  private-rendering top  
 

primComputeMinIndexZ:vtxArray:vtxSize:idxArray:idxSize:

<primitive: 'b3dComputeMinIndexZ' module: 'Squeak3D'>


 

primComputeMinZ:vtxArray:vtxSize:idxArray:idxSize:


 

privateTransformVB:

Transform the contents of the vertex buffer.
Transforming may include normals (if lighting enabled) and textures (if textures enabled).


 

processIndexed:


 

processIndexedLines:

Process an indexed line set


 

processIndexedQuads:

Process an indexed quad set


 

processIndexedTriangles:

Process an indexed triangle set


 

processLineLoop:

Process a closed line defined by the vertex buffer


 

processLines:

Process a series of lines defined by each two points the vertex buffer


 

processNonIndexed:


 

processPoints:

Process a series of points defined by the vertex buffer


 

processPolygon:

Process a polygon defined by the vertex buffer


 

processVertexBuffer:

Process the given vertex buffer in this part of the engine.


 

renderPrimitive

This is the main rendering loop for all operations


class methods
  no messages top