List of all members.
Detailed Description
Defines a group of objects. Note that such a group cannot be instantiated. To instantied a group you need to turn it into a Master Group (see I3DShMasterGroup) first.
Other interfaces surported: I3DShTreeElement, I3DShShadableTree, ISelectableObject
Member Function Documentation
virtual boolean MCCOMAPI I3DShGroup::CanSelectChildren |
( |
|
) |
[pure virtual] |
Returns true if the user can select the children of the group.
virtual MCCOMErr MCCOMAPI I3DShGroup::DoOpenClose |
( |
boolean |
openIt |
) |
[pure virtual] |
Use this call to open or close a group. When a group is open, its elements can be manipulated individually.
- Parameters:
-
| openIt | True if the group should be open. |
Returns the bounding box of the group.
- Parameters:
-
| bbox | The bounding box that is returned. |
| deformMode | Defines how the deformers are applied to calculate to bbox. (see ETreeDeformBBoxModes) |
| rendering | True if you want a bounding box for rendering or just for previewing |
Returns the list of instances used for the raytracing (except for infinite primitives). Note that the index in this array is the same as the fInstanceIndex field of RayHit3D as well as the originInstanceIndex field of RayHitParameters.
virtual boolean MCCOMAPI I3DShGroup::GetSelectChildrenWhenClosed |
( |
|
) |
[pure virtual] |
virtual I3DShTreeElement* MCCOMAPI I3DShGroup::GetTreeElement |
( |
|
) |
[pure virtual] |
virtual boolean MCCOMAPI I3DShGroup::IsOpen |
( |
|
) |
[pure virtual] |
virtual MCCOMErr MCCOMAPI I3DShGroup::OpenClose |
( |
boolean |
openIt |
) |
[pure virtual] |
This lower level call just changes the status. Use DoOpenClose() instead.
- Parameters:
-
| openIt | True if the group should be open. |
Calculates the intersection of a ray and all the objects in the group
- Parameters:
-
| param | The parameters of the ray coming in and of the result of the hit. |
Calculates the intersection of a ray and all the objects in the group. This call is useful when you do not want to take the time to build a grid to optimize the intersection of the rays. You should use this call if you plan to send only a few rays before the scene is modified. Use RayHit() if you plan to send many rays without modify the scene.
- Parameters:
-
| param | The parameters of the ray coming in and of the result of the hit. |
| bboxOnly | True if the hit should only consider the bounding boxes and not the geometry. |
Calculates the intersection of a ray and all the objects raytracable in the group
- Parameters:
-
| param | The parameters of the ray coming in and of the result of the hit. |
virtual void MCCOMAPI I3DShGroup::SetSelectChildrenWhenClosed |
( |
boolean |
value |
) |
[pure virtual] |
The documentation for this struct was generated from the following file: