Painter draw set.
General | |
| virtual iPainter * | GetPainter () const =0 |
| Get the parent painter object. {Property}. More... | |
Lights | |
| virtual tPainterLightCVec * | GetLights () const =0 |
| Get the lights influencing the draw set. {Property}. More... | |
| virtual ni::tBool | SortLights ()=0 |
| Sort the lights. More... | |
| virtual void | SetNumVisibleLights (ni::tU32 anNumVisible)=0 |
| Set the number of visible lights. {Property}. More... | |
| virtual ni::tU32 | GetNumVisibleLights () const =0 |
| Get the number of visible lights. {Property}. More... | |
Camera | |
| virtual ni::tBool | SetCamera (iFrustum *apFrustum, const sVec3f &avPosition)=0 |
| Set the camera frustum. More... | |
| virtual iFrustum * | GetCameraFrustum () const =0 |
| Get the camera frustum set. {Property}. More... | |
| virtual sVec3f | GetCameraPosition () const =0 |
| Get the camera position set. {Property}. More... | |
| virtual void | SetSort (ePainterDrawSetSort aSort)=0 |
| Set the object sorting criteria. More... | |
| virtual ePainterDrawSetSort | GetSort () const =0 |
| Get the object sorting cirteria. {Property}. More... | |
Objects | |
| virtual void | ClearObjects ()=0 |
| Remove all painter objects in the set. More... | |
| virtual ni::tBool | SetObject (iPainterObject *apObject)=0 |
| Set a painter object to its channels. More... | |
| virtual ni::tU32 | RemoveObject (iPainterObject *apObject)=0 |
| Remove a painter object from all the channels. More... | |
| virtual tPainterObjectCVec * | GetChannelObjects (ePainterChannel aChannel) const =0 |
| Get the specified channel's objects. {Property}. More... | |
| virtual ni::tU32 | ComputeBoundingVolume (const tPainterObjectCVec *apObjects, ni::iBoundingVolume *apBV) const =0 |
| Compute the bounding volume of the objects in the specified channel object list. More... | |
Visibility Test | |
| virtual void | SetVisibilityTest (ni::tBool abEnabled)=0 |
| Set whether visibility test is enabled. More... | |
| virtual ni::tBool | GetVisibilityTest () const =0 |
| Get whether visibility test is enabled. {Property}. More... | |
| virtual ni::tBool | SetVisibilityTestSink (iPainterVisibilityTestSink *apSink)=0 |
| Set the visibility test sink. {Property}. More... | |
| virtual iPainterVisibilityTestSink * | GetVisibilityTestSink () const =0 |
| Get the visibility test sink. {Property}. More... | |
| virtual tU32 | GetNumVisibleObjects () const =0 |
| Get the number of visible objects in the set. {Property}. More... | |
| virtual tPainterObjectCVec * | GetVisibleObjects () const =0 |
| Get the visible objects list. More... | |
| virtual void | MakeVisible (iPainterObject *apObject, ni::tBool abCull)=0 |
| Make an object visible. More... | |
| virtual ni::tU32 | RenderOcclusion (iPainterRenderContext *apRC, iPainterObject *apObject)=0 |
| Render the occlusion depth mesh of the specified object. More... | |
| virtual ni::tBool | TestVisibility (iPainterRenderContext *apRC, tPainterObjectCVec *apTestObjects, ni::tU32 anObjectCount)=0 |
| Do the visibility test using the visibility test sink. More... | |
Rendering | |
| virtual ni::tU32 | RenderPass (iPainterRenderContext *apRC, ePainterChannel aChannel, ePainterRenderMode aMode)=0 |
| Render the specified pass. More... | |
| virtual ePainterChannel | GetRenderPassChannel () const =0 |
| Get the last render pass's channel. {Property}. More... | |
| virtual ePainterRenderMode | GetRenderPassMode () const =0 |
| Get the last render pass's render mode. {Property}. More... | |
Additional Inherited Members | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Get the parent painter object. {Property}.
|
pure virtual |
Get the lights influencing the draw set. {Property}.
|
pure virtual |
Sort the lights.
Set the number of visible lights. {Property}.
|
pure virtual |
Get the number of visible lights. {Property}.
Set the camera frustum.
| apFrustum | the camera's frustum. |
| avPosition | the camera's eye position in world space. |
| abPlanarSort,if | true the objects are sorted by their distance with the camera's frustum near plane, else they are sorted by their distance with the camera's eye position. Orthographic, or orthographic like rendering should use PlanarSort, most rendering of fixed UI qualifiy. |
|
pure virtual |
Get the camera frustum set. {Property}.
|
pure virtual |
Get the camera position set. {Property}.
|
pure virtual |
Set the object sorting criteria.
|
pure virtual |
Get the object sorting cirteria. {Property}.
|
pure virtual |
Remove all painter objects in the set.
|
pure virtual |
Set a painter object to its channels.
|
pure virtual |
Remove a painter object from all the channels.
|
pure virtual |
Get the specified channel's objects. {Property}.
|
pure virtual |
Compute the bounding volume of the objects in the specified channel object list.
Set whether visibility test is enabled.
|
pure virtual |
Get whether visibility test is enabled. {Property}.
|
pure virtual |
Set the visibility test sink. {Property}.
|
pure virtual |
Get the visibility test sink. {Property}.
|
pure virtual |
Get the number of visible objects in the set. {Property}.
|
pure virtual |
Get the visible objects list.
|
pure virtual |
Make an object visible.
|
pure virtual |
Render the occlusion depth mesh of the specified object.
|
pure virtual |
Do the visibility test using the visibility test sink.
| apRC | |
| apTestObjects | specify an optional vector of objects to use for the visibility test, this will override the default behavior which is to use the regular channel. |
| anObjectCount |
|
pure virtual |
Render the specified pass.
|
pure virtual |
Get the last render pass's channel. {Property}.
|
pure virtual |
Get the last render pass's render mode. {Property}.
1.8.7