Starshatter_Open
Open source Starshatter engine
|
#include <UVMapView.h>
Public Types | |
enum | SELECT_MODE { SELECT_REMOVE = -1, SELECT_REPLACE = 0, SELECT_APPEND = 1 } |
Public Member Functions | |
UVMapView (Window *c) | |
virtual | ~UVMapView () |
virtual void | Refresh () |
void | UseMaterial (Material *m) |
void | UsePolys (List< Poly > &p) |
void | MoveBy (double dx, double dy) |
void | DragBy (double dx, double dy) |
void | ZoomIn () |
void | ZoomOut () |
void | Clear () |
void | Begin (int select_mode=SELECT_REPLACE) |
void | AddMark (CPoint &p) |
void | End () |
bool | IsActive () const |
void | SelectAll () |
void | SelectNone () |
void | SelectInverse () |
bool | IsSelected (Poly *p, WORD v) |
bool | WillSelect (CPoint &p) |
Public Member Functions inherited from View | |
View (Window *c) | |
virtual | ~View () |
int | operator== (const View &that) const |
virtual void | OnWindowMove () |
virtual void | OnShow () |
virtual void | OnHide () |
virtual void | SetWindow (Window *w) |
virtual Window * | GetWindow () |
Protected Types | |
enum | { MAX_MARK = 4096 } |
Protected Attributes | |
Material * | material |
List< Poly > | polys |
Video * | video |
double | zoom |
double | x_offset |
double | y_offset |
int | nmarks |
CPoint | marks [MAX_MARK] |
int | select_mode |
bool | active |
std::vector< DWORD > | selverts |
Protected Attributes inherited from View | |
Window * | window |
Additional Inherited Members | |
Static Public Member Functions inherited from View | |
static const char * | TYPENAME () |
Definition at line 30 of file UVMapView.h.
|
protected |
Definition at line 62 of file UVMapView.h.
Definition at line 36 of file UVMapView.h.
UVMapView::UVMapView | ( | Window * | c | ) |
Definition at line 38 of file UVMapView.cpp.
|
virtual |
Definition at line 44 of file UVMapView.cpp.
void UVMapView::AddMark | ( | CPoint & | p | ) |
Definition at line 218 of file UVMapView.cpp.
void UVMapView::Begin | ( | int | select_mode = SELECT_REPLACE | ) |
Definition at line 210 of file UVMapView.cpp.
void UVMapView::Clear | ( | ) |
Definition at line 204 of file UVMapView.cpp.
void UVMapView::DragBy | ( | double | dx, |
double | dy | ||
) |
Definition at line 174 of file UVMapView.cpp.
void UVMapView::End | ( | ) |
Definition at line 225 of file UVMapView.cpp.
|
inline |
Definition at line 53 of file UVMapView.h.
bool UVMapView::IsSelected | ( | Poly * | p, |
WORD | v | ||
) |
Definition at line 396 of file UVMapView.cpp.
void UVMapView::MoveBy | ( | double | dx, |
double | dy | ||
) |
Definition at line 167 of file UVMapView.cpp.
|
virtual |
Reimplemented from View.
Definition at line 53 of file UVMapView.cpp.
void UVMapView::SelectAll | ( | ) |
Definition at line 341 of file UVMapView.cpp.
void UVMapView::SelectInverse | ( | ) |
Definition at line 367 of file UVMapView.cpp.
void UVMapView::SelectNone | ( | ) |
Definition at line 361 of file UVMapView.cpp.
void UVMapView::UseMaterial | ( | Material * | m | ) |
Definition at line 149 of file UVMapView.cpp.
Definition at line 160 of file UVMapView.cpp.
bool UVMapView::WillSelect | ( | CPoint & | p | ) |
Definition at line 411 of file UVMapView.cpp.
|
inline |
Definition at line 45 of file UVMapView.h.
|
inline |
Definition at line 46 of file UVMapView.h.
|
protected |
Definition at line 75 of file UVMapView.h.
|
protected |
Definition at line 73 of file UVMapView.h.
|
protected |
Definition at line 64 of file UVMapView.h.
|
protected |
Definition at line 72 of file UVMapView.h.
Definition at line 65 of file UVMapView.h.
|
protected |
Definition at line 74 of file UVMapView.h.
|
protected |
Definition at line 77 of file UVMapView.h.
|
protected |
Definition at line 66 of file UVMapView.h.
|
protected |
Definition at line 69 of file UVMapView.h.
|
protected |
Definition at line 70 of file UVMapView.h.
|
protected |
Definition at line 68 of file UVMapView.h.