3Depict
|
Functions | |
void | updateFilterPropertyGrid (wxPropertyGrid *g, const Filter *f, const std::string &stateString="") |
void | updateCameraPropertyGrid (wxPropertyGrid *g, const Camera *c) |
std::string | getPropValueFromEvent (wxPropertyGridEvent &event) |
Variables | |
const long | PROPERTY_GRID_STYLE = wxPG_SPLITTER_AUTO_CENTER |
const long | PROPERTY_GRID_EXTRA_STYLE = wxPG_EX_HELP_AS_TOOLTIPS |
std::string getPropValueFromEvent | ( | wxPropertyGridEvent & | event | ) |
References ColourRGBA::rgbString(), and stream_cast().
Referenced by PrefDialog::OnFilterCellChange(), and MainWindowFrame::OnGridFilterPropertyChange().
void updateCameraPropertyGrid | ( | wxPropertyGrid * | g, |
const Camera * | c | ||
) |
References ASSERT, ColourRGBA::b(), boolStrDec(), choiceStringToVector(), CameraProperty::data, ColourRGBA::g(), Camera::getProperties(), CameraProperty::key, CameraProperty::name, ColourRGBA::parse(), PROPERTY_TYPE_BOOL, PROPERTY_TYPE_CHOICE, PROPERTY_TYPE_COLOUR, PROPERTY_TYPE_INTEGER, PROPERTY_TYPE_POINT3D, PROPERTY_TYPE_REAL, PROPERTY_TYPE_STRING, CameraProperties::props, ColourRGBA::r(), stream_cast(), and CameraProperty::type.
Referenced by VisController::updateCameraPropGrid().
void updateFilterPropertyGrid | ( | wxPropertyGrid * | g, |
const Filter * | f, | ||
const std::string & | stateString = "" |
||
) |
References ASSERT, ColourRGBA::b(), boolStrDec(), choiceStringToVector(), FilterProperty::data, FilterProperty::dataSecondary, ColourRGBA::g(), FilterPropGroup::getGroup(), FilterPropGroup::getGroupTitle(), Filter::getProperties(), FilterProperty::helpText, FilterProperty::key, FilterProperty::name, FilterPropGroup::numGroups(), ColourRGBA::parse(), PROPERTY_TYPE_BOOL, PROPERTY_TYPE_CHOICE, PROPERTY_TYPE_COLOUR, PROPERTY_TYPE_DIR, PROPERTY_TYPE_FILE, PROPERTY_TYPE_INTEGER, PROPERTY_TYPE_POINT3D, PROPERTY_TYPE_REAL, PROPERTY_TYPE_STRING, ColourRGBA::r(), stream_cast(), and FilterProperty::type.
Referenced by MainWindowFrame::OnComboFilter(), ExportAnimationDialog::OnFilterTreeCtrlSelChanged(), PrefDialog::OnResetFilterAllButton(), StashDialog::OnTreeSelChange(), and VisController::updateFilterPropGrid().
const long PROPERTY_GRID_EXTRA_STYLE = wxPG_EX_HELP_AS_TOOLTIPS |
const long PROPERTY_GRID_STYLE = wxPG_SPLITTER_AUTO_CENTER |