PPL Logo

impl_LV3D_Array Class Reference

Collaboration diagram for impl_LV3D_Array:

Collaboration graph
[legend]

Public Member Functions

 impl_LV3D_Array (LV3D_Array *array_)
 ~impl_LV3D_Array ()
void add (CkViewable *v_)
void remove (CkViewable *v_)
void newClient (int clientID)
void viewpoint (const LV3D_ViewpointMsg *m)
 This request is broadcast every time a client viewpoint changes.
void render (LV3D_RenderMsg *m)
 This method is used to prioritize rendering.
void LV3D_FlatRender (liveVizRequestMsg *m, LV3D_Array *arr)

Private Member Functions

void flush (void)
 render position for last view
void renderUpdate (const LV3D_ViewpointMsg *m)
CkViewableID makeViewableID (int vi)
void status (const char *where)

Private Attributes

LV3D_Arrayarray
CkViewableviewable
CkViewview
 Last-rendered view for this viewable.
CkVector3d lastCamera
bool renderRequested
CkViewpoint renderViewpoint
int renderFrameID

Detailed Description

Definition at line 29 of file lv3d1_server.C.


Constructor & Destructor Documentation

impl_LV3D_Array::impl_LV3D_Array ( LV3D_Array array_  )  [inline]

Definition at line 67 of file lv3d1_server.C.

References renderRequested, view, and viewable.

impl_LV3D_Array::~impl_LV3D_Array (  )  [inline]

Definition at line 72 of file lv3d1_server.C.

References flush().

Here is the call graph for this function:


Member Function Documentation

void impl_LV3D_Array::flush ( void   )  [inline, private]

render position for last view

Definition at line 40 of file lv3d1_server.C.

References renderRequested, and view.

Referenced by newClient(), remove(), render(), and ~impl_LV3D_Array().

Here is the caller graph for this function:

void impl_LV3D_Array::renderUpdate ( const LV3D_ViewpointMsg m  )  [inline, private]

Definition at line 48 of file lv3d1_server.C.

References LV3D_ViewpointMsg::frameID, renderFrameID, renderViewpoint, and LV3D_ViewpointMsg::viewpoint.

Referenced by viewpoint().

Here is the caller graph for this function:

CkViewableID impl_LV3D_Array::makeViewableID ( int  vi  )  [inline, private]

Definition at line 53 of file lv3d1_server.C.

References array, and CkViewableID::id.

Referenced by render().

Here is the caller graph for this function:

void impl_LV3D_Array::status ( const char *  where  )  [inline, private]

Definition at line 63 of file lv3d1_server.C.

Referenced by render(), and viewpoint().

Here is the caller graph for this function:

void impl_LV3D_Array::add ( CkViewable v_  )  [inline]

Definition at line 77 of file lv3d1_server.C.

References viewable.

Referenced by LV3D_Array::addViewable().

Here is the caller graph for this function:

void impl_LV3D_Array::remove ( CkViewable v_  )  [inline]

Definition at line 81 of file lv3d1_server.C.

References flush(), and viewable.

Referenced by LV3D_Array::removeViewable().

Here is the call graph for this function:

Here is the caller graph for this function:

void impl_LV3D_Array::newClient ( int  clientID  )  [inline]

Definition at line 88 of file lv3d1_server.C.

References flush().

Referenced by LV3D_Array::LV3D_NewClient().

Here is the call graph for this function:

Here is the caller graph for this function:

void impl_LV3D_Array::viewpoint ( const LV3D_ViewpointMsg m  )  [inline]

This request is broadcast every time a client viewpoint changes.

Internally, it asks the stored CkViewables if they should redraw, and if so, queues up a LV3D_RenderMsg.

Definition at line 98 of file lv3d1_server.C.

References array, LV3D_ViewpointMsg::clientID, LV3D_ViewpointMsg::frameID, CkViewable::getSize(), LV3D_Array::LV3D_Render(), LV3D_RenderMsg::new_(), renderRequested, renderUpdate(), renderViewpoint, CkViewable::shouldRender(), status(), view, viewable, and LV3D_ViewpointMsg::viewpoint.

Referenced by LV3D_Array::LV3D_Viewpoint().

Here is the call graph for this function:

Here is the caller graph for this function:

void impl_LV3D_Array::render ( LV3D_RenderMsg m  )  [inline]

This method is used to prioritize rendering.

Definition at line 121 of file lv3d1_server.C.

References LV3D_RenderMsg::clientID, LV3D_RenderMsg::delete_(), flush(), CkViewable::getSize(), CkView::id, LV3D0_Deposit(), LV3D_build_priority(), makeViewableID(), CkView::prio, renderFrameID, CkViewable::renderView(), renderViewpoint, status(), view, and viewable.

Referenced by LV3D_Array::LV3D_Render().

Here is the call graph for this function:

Here is the caller graph for this function:

void impl_LV3D_Array::LV3D_FlatRender ( liveVizRequestMsg m,
LV3D_Array arr 
)

Definition at line 216 of file lv3d1_server.C.

References PUP::b, CkQuadView::corners, dest, CkQuadView::getImage(), h, int, liveVizDeposit(), liveVizRequestUnpack(), op, CkViewpoint::project(), r, CkViewable::renderView(), src, viewable, PUP::w, CkVector3dT< real >::x, x, and CkVector3dT< real >::y.

Referenced by LV3D_Array::LV3D_FlatRender().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

Definition at line 30 of file lv3d1_server.C.

Referenced by makeViewableID(), and viewpoint().

Definition at line 32 of file lv3d1_server.C.

Referenced by add(), impl_LV3D_Array(), LV3D_FlatRender(), remove(), render(), and viewpoint().

Last-rendered view for this viewable.

Definition at line 37 of file lv3d1_server.C.

Referenced by flush(), impl_LV3D_Array(), render(), and viewpoint().

Definition at line 38 of file lv3d1_server.C.

Definition at line 45 of file lv3d1_server.C.

Referenced by flush(), impl_LV3D_Array(), and viewpoint().

Definition at line 46 of file lv3d1_server.C.

Referenced by render(), renderUpdate(), and viewpoint().

Definition at line 47 of file lv3d1_server.C.

Referenced by render(), and renderUpdate().


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

Generated on Mon Sep 21 08:26:04 2020 for Charm++ by  doxygen 1.5.5