|
| ViewImpl () |
| [AI] Initializes viewport pointer [AI] More...
|
|
| ~ViewImpl () override |
| [AI] Cleans up viewport on destruction [AI] More...
|
|
void * | ImplementationDataPtr () override |
| Returns Direct3DRMViewport implementation pointer [AI]. More...
|
|
Result | Add (const Light *) override |
| Adds a light to this view [AI]. More...
|
|
Result | Remove (const Light *) override |
| Removes a light from this view [AI]. More...
|
|
Result | SetCamera (const Camera *) override |
| Sets the active camera for this view [AI]. More...
|
|
Result | SetProjection (ProjectionType) override |
| Sets the camera projection type (perspective/orthographic) [AI]. More...
|
|
Result | SetFrustrum (float frontClippingDistance, float backClippingDistance, float degrees) override |
| Sets the view frustum parameters [AI]. More...
|
|
Result | SetBackgroundColor (float r, float g, float b) override |
| Sets background color [AI]. More...
|
|
Result | GetBackgroundColor (float *r, float *g, float *b) override |
| Gets the background color [AI]. More...
|
|
Result | Clear () override |
| Clears the view [AI]. More...
|
|
Result | Render (const Group *) override |
| Renders the provided scene/group [AI]. More...
|
|
Result | ForceUpdate (unsigned long x, unsigned long y, unsigned long width, unsigned long height) override |
| Forces an update/redraw of specified rectangle [AI]. More...
|
|
Result | TransformWorldToScreen (const float world[3], float screen[4]) override |
| Converts a world coordinate to screen space [AI]. More...
|
|
Result | TransformScreenToWorld (const float screen[4], float world[3]) override |
| Converts screen coordinates to world space [AI]. More...
|
|
Result | Pick (unsigned long x, unsigned long y, const Group **ppGroupsToPickFrom, int groupsToPickFromCount, const Group **&rppPickedGroups, int &rPickedGroupCount) override |
| Picks objects in the view by screen coordinate [AI]. More...
|
|
const ViewDataType & | ImplementationData () const |
| Gets internal viewport pointer, const [AI]. More...
|
|
ViewDataType & | ImplementationData () |
| Gets internal viewport pointer, mutable [AI]. More...
|
|
void | SetImplementationData (IDirect3DRMViewport *viewport) |
| Sets internal viewport pointer [AI]. More...
|
|
void | Destroy () |
| Frees viewport resources [AI]. More...
|
|
Result | Add (const LightImpl &rLight) |
| Adds a light using impl object [AI]. More...
|
|
Result | Remove (const LightImpl &rLight) |
| Removes a light using impl object [AI]. More...
|
|
Result | SetCamera (const CameraImpl &rCamera) |
| Sets active camera using impl [AI]. More...
|
|
Result | Render (const GroupImpl &rScene) |
| Renders a group using impl [AI]. More...
|
|
Result | Pick (unsigned long x, unsigned long y, const GroupImpl **ppGroupsToPickFrom, int groupsToPickFromCount, const Group **&rppPickedGroups, int &rPickedGroupCount) |
| Picks group using impl objects [AI]. More...
|
|
virtual Result | Add (const Light *)=0 |
| [AI] Adds a light to the view for rendering. More...
|
|
virtual Result | Remove (const Light *)=0 |
| [AI] Removes a light from the view. More...
|
|
virtual Result | SetCamera (const Camera *)=0 |
| [AI] Sets the camera used by the view. More...
|
|
virtual Result | SetProjection (ProjectionType)=0 |
| [AI] Sets projection type for the view (e.g., perspective/orthographic). More...
|
|
virtual Result | SetFrustrum (float frontClippingDistance, float backClippingDistance, float degrees)=0 |
| [AI] Sets front and back clipping planes and view field in degrees. More...
|
|
virtual Result | SetBackgroundColor (float r, float g, float b)=0 |
| [AI] Sets the background color for the view. More...
|
|
virtual Result | GetBackgroundColor (float *r, float *g, float *b)=0 |
| [AI] Retrieves the current background color. More...
|
|
virtual Result | Clear ()=0 |
| [AI] Clears the current contents of the view. More...
|
|
virtual Result | Render (const Group *)=0 |
| [AI] Renders a group hierarchy to the view. More...
|
|
virtual Result | ForceUpdate (unsigned long x, unsigned long y, unsigned long width, unsigned long height)=0 |
| [AI] Forces update/redraw of a region in the view. More...
|
|
virtual Result | TransformWorldToScreen (const float world[3], float screen[4])=0 |
| [AI] Transforms a world-space position to screen coordinates. More...
|
|
virtual Result | TransformScreenToWorld (const float screen[4], float world[3])=0 |
| [AI] Converts screen coordinate back to world position. More...
|
|
virtual Result | Pick (unsigned long x, unsigned long y, const Group **ppGroupsToPickFrom, int groupsToPickFromCount, const Group **&rppPickedGroups, int &rPickedGroupCount)=0 |
| [AI] Picks the group under screen coordinates, searching specific group trees. More...
|
|
virtual | ~Object () |
| [AI] Destructor; releases resources. More...
|
|
virtual void * | ImplementationDataPtr ()=0 |
| [AI] Returns a pointer to internal/implementation data, if any. More...
|
|
[AI] Implementation of Tgl::View backed by Direct3DRMViewport, handles scene rendering, picking, and camera control.
[AI]
Definition at line 449 of file impl.h.