#include <SIM_SlicePlane.h>

Public Member Functions | |
| GETSET_DATA_FUNCS_V3 ("dir", SliceDirection) | |
| Control the force attribute. | |
| GETSET_DATA_FUNCS_V3 (SIM_NAME_POSITION, SlicePosition) | |
| Control the position attribute. | |
Protected Member Functions | |
| SIM_SlicePlane (const SIM_DataFactory *factory) | |
| virtual | ~SIM_SlicePlane () |
| virtual fpreal | getSliceBoundaryDistSubclass (const UT_Vector3 &pos) const |
| virtual UT_Vector3 | getCenterSubclass () const |
| Which side of our parent we are on. | |
| virtual SIM_Guide * | createGuideObjectSubclass () const |
| virtual void | buildGuideGeometrySubclass (const SIM_RootData &root, const SIM_Options &options, const GU_DetailHandle &gdh, UT_DMatrix4 *xform, const SIM_Time &t) const |
| We override this method to create the fan geometry. | |
| virtual void | optionChangedSubclass (const char *name) |
Definition at line 22 of file SIM_SlicePlane.h.
| SIM_SlicePlane::SIM_SlicePlane | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
| virtual SIM_SlicePlane::~SIM_SlicePlane | ( | ) | [protected, virtual] |
| virtual void SIM_SlicePlane::buildGuideGeometrySubclass | ( | const SIM_RootData & | root, | |
| const SIM_Options & | options, | |||
| const GU_DetailHandle & | gdh, | |||
| UT_DMatrix4 * | xform, | |||
| const SIM_Time & | t | |||
| ) | const [protected, virtual] |
| virtual SIM_Guide* SIM_SlicePlane::createGuideObjectSubclass | ( | ) | const [protected, virtual] |
| virtual UT_Vector3 SIM_SlicePlane::getCenterSubclass | ( | ) | const [inline, protected, virtual] |
Which side of our parent we are on.
Implements SIM_Slice.
Definition at line 42 of file SIM_SlicePlane.h.
| SIM_SlicePlane::GETSET_DATA_FUNCS_V3 | ( | SIM_NAME_POSITION | , | |
| SlicePosition | ||||
| ) |
Control the position attribute.
| SIM_SlicePlane::GETSET_DATA_FUNCS_V3 | ( | "dir" | , | |
| SliceDirection | ||||
| ) |
Control the force attribute.
| virtual fpreal SIM_SlicePlane::getSliceBoundaryDistSubclass | ( | const UT_Vector3 & | pos | ) | const [protected, virtual] |
Returns the distance to the slice's boundary. If the point is inside the slice this is a negative distance, else positive. This is what must be overridden to make the slice do something interesting
Implements SIM_Slice.
| virtual void SIM_SlicePlane::optionChangedSubclass | ( | const char * | name | ) | [protected, virtual] |
Update our cached position and size so we can store pre-normalized values to speed up detection
Reimplemented from SIM_OptionsUser.
1.5.9