RiRadRegion

Encapsulates the notion of a sample on a RiRadObject.

[ Rad | Source | Search | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class RiRadRegion : public RiMaterialRegion
{
public:
// Constructors and assignment
RiRadRegion();
// Accessors
RiRadObject *GetRadObject() const;
void SetRadObject(RiRadObject *obj);
protected:
}; // RiRadRegion


DESCRIPTION

This class represents a sample on an RiRadObject. The sample consists of all data needed by an RiMaterial (such as position, area, normal, UV's) as well as a pointer to a RiRadObject. The RiRadObject pointer is the particular RiRadObject that the sample lives on. This may not be the RiRadObject that was queried to get the sample in the first place. If a higher level cluster is queried, the result may be a primitive object.


RiRadRegion();

Default Constructor

    RiRadRegion();

RiRadObject *GetRadObject() const;

Note that the object may not be the object used in the original call. The original may have been a composite.

    RiRadObject *GetRadObject() const;

void SetRadObject(RiRadObject *obj);

Set the RiRadObject that the sample live on.

    void SetRadObject(RiRadObject *obj);

All Members

public:
// Accessors
const RiUnitVector3 &GetIncomingDirection() const;
void SetIncomingDirection(const RiUnitVector3 &);
const RiVector3 &GetPoint() const;
void SetPoint(const RiVector3 &);
const RiVector2 &GetUV() const;
void SetUV(const RiVector2 &);
const RiUnitVector3 &GetNormal() const;
void SetNormal(const RiUnitVector3 &);
RiReal GetRadius() const;
void SetRadius(RiReal);
void *New(size_t size);
// Accessors
RiRadObject *GetRadObject() const;
void SetRadObject(RiRadObject *obj);
protected:

Ancestors

Inheritance chain for RiRadRegion:


Descendants

Class is not inherited by any others.


Generated from source by the Cocoon utilities on Fri Feb 25 15:15:47 2000 .