SelectableEdge Class Reference

#include <brush.h>

Collaboration diagram for SelectableEdge:
Collaboration graph
[legend]

Public Member Functions

 SelectableEdge (Faces &faces, FaceVertexId faceVertex)
SelectableEdgeoperator= (const SelectableEdge &other)
FacegetFace () const
void testSelect (SelectionTest &test, SelectionIntersection &best)

Data Fields

Facesm_faces
FaceVertexId m_faceVertex

Private Member Functions

Vector3 getEdge () const

Detailed Description

Definition at line 1334 of file brush.h.


Constructor & Destructor Documentation

SelectableEdge::SelectableEdge ( Faces faces,
FaceVertexId  faceVertex 
) [inline]

Definition at line 1347 of file brush.h.


Member Function Documentation

Vector3 SelectableEdge::getEdge (  )  const [inline, private]

Definition at line 1336 of file brush.h.

References getFace(), FaceVertexId::getVertex(), Face::getWinding(), m_faceVertex, and vector3_mid().

Referenced by testSelect().

Face& SelectableEdge::getFace (  )  const [inline]

Definition at line 1357 of file brush.h.

References FaceVertexId::getFace(), m_faces, and m_faceVertex.

Referenced by getEdge().

SelectableEdge& SelectableEdge::operator= ( const SelectableEdge other  )  [inline]

Definition at line 1351 of file brush.h.

References m_faceVertex.

void SelectableEdge::testSelect ( SelectionTest test,
SelectionIntersection best 
) [inline]

Definition at line 1362 of file brush.h.

References getEdge(), and SelectionTest::TestPoint().

Referenced by EdgeInstance::testSelect().


Field Documentation

Definition at line 1344 of file brush.h.

Referenced by getFace(), EdgeInstance::select_edge(), and EdgeInstance::selected_edge().


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

Generated by  doxygen 1.6.2