RenderMan  26.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RixDisplacement Class Referenceabstract

#include <RixDisplacement.h>

Public Member Functions

 RixDisplacement (RixShadingContext const *sCtx, RixDisplacementFactory *fact)
 
virtual ~RixDisplacement ()
 
virtual bool GetDisplacement (RtPoint3 *P)=0
 
RixShadingContext const * GetShadingCtx () const
 
RixDisplacementFactoryGetDisplacementFactory () const
 
virtual void Release ()
 Release does any cleanup that might be needed (often none and the base implementation is fine) and then calls the base implementation. More...
 

Protected Attributes

RixShadingContext const * shadingCtx
 
RixDisplacementFactorydisplacementFactory
 

Constructor & Destructor Documentation

RixDisplacement::RixDisplacement ( RixShadingContext const *  sCtx,
RixDisplacementFactory fact 
)
inline
virtual RixDisplacement::~RixDisplacement ( )
inlinevirtual

Member Function Documentation

virtual bool RixDisplacement::GetDisplacement ( RtPoint3 *  P)
pure virtual
RixDisplacementFactory* RixDisplacement::GetDisplacementFactory ( ) const
inline

References displacementFactory.

RixShadingContext const* RixDisplacement::GetShadingCtx ( ) const
inline

References shadingCtx.

virtual void RixDisplacement::Release ( )
inlinevirtual

Release does any cleanup that might be needed (often none and the base implementation is fine) and then calls the base implementation.

A RixDisplacement that contains another RixDisplacement would need to call Release on its child as part of its own Release.

References displacementFactory, and RixDisplacementFactory::EndDisplacement().

Member Data Documentation

RixDisplacementFactory* RixDisplacement::displacementFactory
protected

Referenced by GetDisplacementFactory(), and Release().

RixShadingContext const* RixDisplacement::shadingCtx
protected

Referenced by GetShadingCtx().


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