PPL Logo

libs/ck-libs/liveViz3d/ckviewable.h File Reference

Go to the source code of this file.

Data Structures

class  CkViewableID
 A CkViewableID uniquely identifies a CkViewable across processors. More...
class  CkView
 A CkView is a texture image that can stand in for a CkViewable. More...
class  CkViewable
 An object that can be "viewed"-- turned into an image. More...
class  CkViewConsumer
 A CkViewConsumer accepts CkView's from viewables. More...
class  CkImageCompressor
 Performs a simple zero-encoding of blank image pixels at each end of the image scanlines. More...
class  CkQuadView
 The simplest kind of CkView: a single, flat quadrilateral OpenGL texture. More...
class  CkFixedViewable
 This trivial viewable always shows a fixed quadview, regardless of the viewpoint--that is, it's just a single, fixed-texture polygon. More...
class  CkInterestSet
 Describes a set of "interest points": 3d locations in space that lie on important object features. More...
class  CkInterestViewable
 A CkInterestViewable is a viewable whose reprojection (view coherence) is characterized by a set of "interest points". More...

Functions

 PUPmarshall (CkViewableID) class CkReferenceCounted
 A reference-counted object.
void CkViewNodeInit (void)
 Call this routine once per node at startup-- it registers all the PUPable CkView's.
 PUPmarshall (CkInterestSet) class CkInterestView
 An interestView is a QuadView that keeps track of the 3d location and projection of some of its source object's points.


Function Documentation

PUPmarshall ( CkViewableID   ) 

A reference-counted object.

This is used for simple object sharing, where one class creates objects that may be used by other classes indefinitely, but copying is expensive. CkReferenceCounted ojbects must be allocated on the heap, not inside another object or on the stack.

Do not explicitly call the destructor for CkReferenceCounted objects--use unref instead.

On creation, the reference count is 1, so one call to unref will destroy the object.

Increment the reference count. Must be matched by some later call to unref.

Decrement the reference count. If there are no more references, delete this object.

Definition at line 51 of file ckviewable.h.

void CkViewNodeInit ( void   ) 

Call this routine once per node at startup-- it registers all the PUPable CkView's.

Referenced by LV3D0_NodeInit().

Here is the caller graph for this function:

PUPmarshall ( CkInterestSet   ) 

An interestView is a QuadView that keeps track of the 3d location and projection of some of its source object's points.

This lets it evaluate reprojection error on the server.

It gets shippped across the network as a regular CkQuadView-- so it has no pup routine.

World location of texture center, X, and Y axes.

Initialize this view for these interest points, from this viewpoint. Sets the corners initially as the z=0 projection of our texture's corners.

Return the ratio between our projected screen resolution and our current texture resolution.

Evaluate the root-mean-square error, in pixels, between the projection of our texture and the projection of the true object.

Evaluate the maximum error, in pixels, between the projection of our texture and the projection of the true object.

Definition at line 334 of file ckviewable.h.

References alpha, CkVector3dT< real >::distSqr(), h, CkViewpoint::project_noz(), and PUP::w.

Here is the call graph for this function:


Generated on Mon Sep 21 08:07:40 2020 for Charm++ by  doxygen 1.5.5