Blender V2.61 - r43446
|
#include <BSP_MeshPrimitives.h>
Public Member Functions | |
BSP_MFace () | |
void | Invert () |
bool | SelectTag () const |
void | SetSelectTag (bool tag) |
int | OpenTag () const |
void | SetOpenTag (int tag) |
Public Attributes | |
BSP_VertexList | m_verts |
MT_Plane3 | m_plane |
int | m_open_tag |
unsigned int | m_orig_face |
Definition at line 222 of file BSP_MeshPrimitives.h.
BSP_MFace::BSP_MFace | ( | ) |
Face primitive methods
Definition at line 241 of file BSP_MeshPrimitives.cpp.
void BSP_MFace::Invert | ( | ) |
Definition at line 251 of file BSP_MeshPrimitives.cpp.
References MT_Plane3::Invert(), m_plane, and m_verts.
int BSP_MFace::OpenTag | ( | ) | const |
Definition at line 283 of file BSP_MeshPrimitives.cpp.
References m_open_tag.
bool BSP_MFace::SelectTag | ( | ) | const |
Tagging We use the tag from m_verts[1] for the select tag and the the tag from m_verts[0] for the open tag. There is always a chance that the polygon contains no vertices but this should be checked at construction time. Also note that changing the vertex indices of this polygon will likely remove tagging information.
Definition at line 268 of file BSP_MeshPrimitives.cpp.
References m_verts.
void BSP_MFace::SetOpenTag | ( | int | tag | ) |
Definition at line 290 of file BSP_MeshPrimitives.cpp.
References m_open_tag.
void BSP_MFace::SetSelectTag | ( | bool | tag | ) |
Definition at line 275 of file BSP_MeshPrimitives.cpp.
References m_verts.
Definition at line 234 of file BSP_MeshPrimitives.h.
Referenced by OpenTag(), and SetOpenTag().
unsigned int BSP_MFace::m_orig_face |
Definition at line 235 of file BSP_MeshPrimitives.h.
Referenced by BOP_exportMesh(), BSP_CSGMesh_FaceIt_Fill(), and Carve_exportMesh().
Definition at line 232 of file BSP_MeshPrimitives.h.
Referenced by BSP_CSGMesh::AddPolygon(), BOP_exportMesh(), Carve_exportMesh(), and Invert().
Definition at line 225 of file BSP_MeshPrimitives.h.
Referenced by BSP_CSGMesh::AddPolygon(), BOP_exportMesh(), BSP_CSGMesh_FaceIt_Done(), BSP_CSGMesh_FaceIt_Fill(), BSP_CSGMesh::BuildEdges(), Carve_exportMesh(), LOD_ManMesh2::FaceEdges(), BSP_CSGMesh::FacePlane(), Invert(), BSP_CSGMesh::SC_Face(), SelectTag(), and SetSelectTag().