PPL Logo

liveVizConfig Class Reference

liveVizConfig describes the type of images available from this parallel server--images may be color or greyscale, be pushed to the client or pulled, and may come from a set of 3d axes or be simply 2d. More...

#include <liveViz0.h>

Collaboration diagram for liveVizConfig:

Collaboration graph
[legend]

Public Types

enum  pixel_t { pix_greyscale = 0, pix_color = 1, pix_float = 2 }

Public Member Functions

 liveVizConfig ()
 liveVizConfig (bool isColor, bool serverPush_)
 2D constructors:
 liveVizConfig (pixel_t pix, bool serverPush_)
 liveVizConfig (bool isColor, bool serverPush_, const CkBbox3d &box_)
 3D constructors:
 liveVizConfig (pixel_t pix, bool serverPush_, const CkBbox3d &box_)
void moreVerbose (void)
 Increment the verbosity level on the server.
bool getColor (void) const
 Extract configuration information:.
int getBytesPerPixel (void) const
 Return the number of bytes per pixel used during assembly.
int getNetworkBytesPerPixel (void) const
 Return the number of bytes per pixel used on the wire.
bool getPush (void) const
bool get3d (void) const
const CkBbox3dgetBox (void) const
bool getVerbose (int thanLevel) const
void pupNetwork (PUP::er &p)

Private Member Functions

void init (pixel_t pix, bool serverPush=false)

Private Attributes

pixel_t pixels
int bytesPerPixel
bool serverPush
 If true, the server produces images regardless of whether the client asks for them; this is true for animating and batch-mode images.
bool is3d
 If true, show 3d camera motion tools.
CkBbox3d box
 If 3d, the viewed object's bounding box, universe coords.
int verbose
 If nonzero, printf status info; higher numbers give more prints.

Detailed Description

liveVizConfig describes the type of images available from this parallel server--images may be color or greyscale, be pushed to the client or pulled, and may come from a set of 3d axes or be simply 2d.

Definition at line 62 of file liveViz0.h.


Member Enumeration Documentation

Enumerator:
pix_greyscale 
pix_color 
pix_float 

Definition at line 65 of file liveViz0.h.


Constructor & Destructor Documentation

liveVizConfig::liveVizConfig (  )  [inline]

Definition at line 74 of file liveViz0.h.

References init(), and pix_greyscale.

Here is the call graph for this function:

liveVizConfig::liveVizConfig ( bool  isColor,
bool  serverPush_ 
) [inline]

2D constructors:

Definition at line 77 of file liveViz0.h.

References init(), pix_color, and pix_greyscale.

Here is the call graph for this function:

liveVizConfig::liveVizConfig ( pixel_t  pix,
bool  serverPush_ 
) [inline]

Definition at line 80 of file liveViz0.h.

References init().

Here is the call graph for this function:

liveVizConfig::liveVizConfig ( bool  isColor,
bool  serverPush_,
const CkBbox3d box_ 
) [inline]

3D constructors:

Definition at line 85 of file liveViz0.h.

References box, init(), is3d, pix_color, and pix_greyscale.

Here is the call graph for this function:

liveVizConfig::liveVizConfig ( pixel_t  pix,
bool  serverPush_,
const CkBbox3d box_ 
) [inline]

Definition at line 89 of file liveViz0.h.

References box, init(), and is3d.

Here is the call graph for this function:


Member Function Documentation

void liveVizConfig::moreVerbose ( void   )  [inline]

Increment the verbosity level on the server.

Definition at line 95 of file liveViz0.h.

References verbose.

bool liveVizConfig::getColor ( void   )  const [inline]

Extract configuration information:.

Definition at line 98 of file liveViz0.h.

References pix_color, and pixels.

int liveVizConfig::getBytesPerPixel ( void   )  const [inline]

Return the number of bytes per pixel used during assembly.

Definition at line 100 of file liveViz0.h.

References bytesPerPixel.

Referenced by allocateImageMsg(), imageCombine(), imageCombineReducer(), liveVizDeposit(), and vizReductionHandler().

Here is the caller graph for this function:

int liveVizConfig::getNetworkBytesPerPixel ( void   )  const [inline]

Return the number of bytes per pixel used on the wire.

Definition at line 102 of file liveViz0.h.

References pix_greyscale, and pixels.

Referenced by liveViz0Deposit(), and vizReductionHandler().

Here is the caller graph for this function:

bool liveVizConfig::getPush ( void   )  const [inline]

Definition at line 103 of file liveViz0.h.

References serverPush.

bool liveVizConfig::get3d ( void   )  const [inline]

Definition at line 104 of file liveViz0.h.

References is3d.

const CkBbox3d& liveVizConfig::getBox ( void   )  const [inline]

Definition at line 105 of file liveViz0.h.

References box.

bool liveVizConfig::getVerbose ( int  thanLevel  )  const [inline]

Definition at line 106 of file liveViz0.h.

References verbose.

Referenced by getImageConfigHandler(), getImageHandler(), imageCombine(), imageCombineReducer(), liveViz0Deposit(), liveViz0Init(), liveViz0PollInit(), liveVizDeposit(), and vizReductionHandler().

Here is the caller graph for this function:

void liveVizConfig::pupNetwork ( PUP::er p  ) 

Definition at line 36 of file liveViz0.C.

References box, bytesPerPixel, is3d, CkBbox3d::max, CkBbox3d::min, pix_color, pix_greyscale, pixels, serverPush, and version.

Referenced by getImageConfigHandler(), and liveVizGroup::pup().

Here is the caller graph for this function:

void liveVizConfig::init ( pixel_t  pix,
bool  serverPush = false 
) [private]

Definition at line 20 of file liveViz0.C.

References bytesPerPixel, CmiAbort(), is3d, pix_color, pix_float, pix_greyscale, pixels, serverPush, and verbose.

Referenced by liveVizConfig().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

Definition at line 111 of file liveViz0.h.

Referenced by getColor(), getNetworkBytesPerPixel(), init(), and pupNetwork().

Definition at line 112 of file liveViz0.h.

Referenced by getBytesPerPixel(), init(), and pupNetwork().

If true, the server produces images regardless of whether the client asks for them; this is true for animating and batch-mode images.

If false, the server will respond to client requests; this is true for viz-on-demand services. The client repeatedly asks for an image if this is set; if not set it only asks when the client's window size or viewpoint changes.

Definition at line 122 of file liveViz0.h.

Referenced by getPush(), init(), and pupNetwork().

If true, show 3d camera motion tools.

Definition at line 124 of file liveViz0.h.

Referenced by get3d(), init(), liveVizConfig(), and pupNetwork().

If 3d, the viewed object's bounding box, universe coords.

Definition at line 125 of file liveViz0.h.

Referenced by getBox(), liveVizConfig(), and pupNetwork().

If nonzero, printf status info; higher numbers give more prints.

Definition at line 127 of file liveViz0.h.

Referenced by getVerbose(), init(), and moreVerbose().


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

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