toxi.geom.mesh
Class BoxSelector

java.lang.Object
  extended by toxi.geom.mesh.VertexSelector
      extended by toxi.geom.mesh.BoxSelector

public class BoxSelector
extends VertexSelector

A VertexSelector implementation for selecting vertices within a given AABB.


Field Summary
 AABB box
           
 
Constructor Summary
BoxSelector(Mesh3D mesh, AABB box)
           
 
Method Summary
 VertexSelector selectVertices()
          Selects vertices using an implementation specific method.
 
Methods inherited from class toxi.geom.mesh.VertexSelector
addSelection, clearSelection, getMesh, getSelection, invertSelection, selectSimilar, setMesh, size, subtractSelection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

box

public final AABB box
Constructor Detail

BoxSelector

public BoxSelector(Mesh3D mesh,
                   AABB box)
Method Detail

selectVertices

public VertexSelector selectVertices()
Description copied from class: VertexSelector
Selects vertices using an implementation specific method. This is the only method which needs to be implemented by any selector subclass.

Specified by:
selectVertices in class VertexSelector
Returns:
itself