#include <brush.h>
Data Structures | |
class | SavedState |
Public Member Functions | |
FacePlane () | |
FacePlane (const FacePlane &other) | |
void | MakePlane () |
void | reverse () |
void | transform (const Matrix4 &matrix, bool mirror) |
void | offset (float offset) |
PlanePoints & | planePoints () |
const PlanePoints & | planePoints () const |
const Plane3 & | plane3 () const |
void | copy (const FacePlane &other) |
void | copy (const Vector3 &p0, const Vector3 &p1, const Vector3 &p2) |
Data Fields | |
Vector3 | m_funcStaticOrigin |
Private Attributes | |
PlanePoints | m_planepts |
Plane3 | m_planeCached |
Plane3 | m_plane |
Definition at line 589 of file brush.h.
FacePlane::FacePlane | ( | const FacePlane & | other | ) | [inline] |
Definition at line 619 of file brush.h.
References m_planepts, MakePlane(), and planepts_assign().
Definition at line 695 of file brush.h.
References m_planepts, and MakePlane().
void FacePlane::copy | ( | const FacePlane & | other | ) | [inline] |
Definition at line 690 of file brush.h.
References m_planepts, MakePlane(), and planepts_assign().
Referenced by Face::assign_planepts(), and Face::Face().
void FacePlane::MakePlane | ( | ) | [inline] |
Definition at line 626 of file brush.h.
References check_plane_is_integer(), m_planeCached, m_planepts, plane3_for_points(), and planepts_print().
Referenced by copy(), FacePlane::SavedState::exportState(), FacePlane(), offset(), reverse(), and transform().
void FacePlane::offset | ( | float | offset | ) | [inline] |
Definition at line 666 of file brush.h.
References m_planeCached, m_planepts, MakePlane(), and Plane3::normal().
const Plane3& FacePlane::plane3 | ( | ) | const [inline] |
Definition at line 685 of file brush.h.
References m_planeCached.
Referenced by Face::Face(), Face::FitTexture(), Face::plane3(), Face::render(), Face::snapto(), and Face::transform().
const PlanePoints& FacePlane::planePoints | ( | ) | const [inline] |
Definition at line 681 of file brush.h.
References m_planepts.
PlanePoints& FacePlane::planePoints | ( | ) | [inline] |
Definition at line 677 of file brush.h.
References m_planepts.
Referenced by FacePlane::SavedState::exportState(), FacePlane::SavedState::SavedState(), Face::snapto(), and transform().
void FacePlane::reverse | ( | ) | [inline] |
Definition at line 638 of file brush.h.
References m_planepts, MakePlane(), and vector3_swap().
Referenced by Face::flipWinding(), and transform().
void FacePlane::transform | ( | const Matrix4 & | matrix, | |
bool | mirror | |||
) | [inline] |
Definition at line 643 of file brush.h.
References check_plane_is_integer(), m_planepts, MakePlane(), planePoints(), and reverse().
Referenced by Face::transform().
Plane3 FacePlane::m_plane [private] |
Plane3 FacePlane::m_planeCached [private] |
Definition at line 592 of file brush.h.
Referenced by MakePlane(), offset(), and plane3().
PlanePoints FacePlane::m_planepts [private] |
Definition at line 591 of file brush.h.
Referenced by copy(), FacePlane(), MakePlane(), offset(), planePoints(), reverse(), and transform().