SIM_SlicePlane Class Reference

#include <SIM_SlicePlane.h>

Inheritance diagram for SIM_SlicePlane:

SIM_Slice SIM_OptionsUser SIM_Data

List of all members.

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_GuidecreateGuideObjectSubclass () 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)


Detailed Description

Definition at line 22 of file SIM_SlicePlane.h.


Constructor & Destructor Documentation

SIM_SlicePlane::SIM_SlicePlane ( const SIM_DataFactory factory  )  [explicit, protected]

virtual SIM_SlicePlane::~SIM_SlicePlane (  )  [protected, virtual]


Member Function Documentation

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]

We override this method to create the fan geometry.

Reimplemented from SIM_Data.

virtual SIM_Guide* SIM_SlicePlane::createGuideObjectSubclass (  )  const [protected, virtual]

Override this to create a custom SIM_Guide subclass. The SIM_Guide class controls how requests for guide geometry are translated into actual geometry creation.

Reimplemented from SIM_Data.

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.


The documentation for this class was generated from the following file:

Generated on Fri May 25 00:10:41 2012 for HDK by  doxygen 1.5.9