VRAY_Procedural Class Reference

#include <VRAY_Procedural.h>

Inheritance diagram for VRAY_Procedural:

HDK_Sample::vray_ChildBox HDK_Sample::VRAY_DemoBox HDK_Sample::VRAY_DemoFile HDK_Sample::VRAY_DemoMountain HDK_Sample::VRAY_DemoStamp HDK_Sample::VRAY_DemoVolumeSphere VRAY_ProcIsoBase

List of all members.

Public Member Functions

 VRAY_Procedural ()
virtual ~VRAY_Procedural ()
virtual const char * getClassName ()=0
virtual int initialize (const UT_BoundingBox *box)=0
virtual void getBoundingBox (UT_BoundingBox &box)=0
virtual void render ()=0
int lookupParmToken (const char *name)
const int * getIParm (const char *name) const
const fprealgetFParm (const char *name) const
const char ** getSParm (const char *name) const
const int * getIParm (int token) const
const fprealgetFParm (int token) const
const char ** getSParm (int token) const
bool import (const char *name, int *value, int vectorsize)
bool import (const char *name, fpreal *value, int vectorsize)
bool import (const char *name, UT_String &result, int idx=0)
bool import (void *handle, const char *name, int *value, int vectorsize)
bool import (void *handle, const char *name, fpreal *value, int vectorsize)
bool import (void *handle, const char *name, UT_String &result, int idx=0)

Protected Member Functions

GU_DetailallocateGeometry ()
void freeGeometry (GU_Detail *gdp)
fpreal getLevelOfDetail (const UT_BoundingBox &box)
void openGeometryObject ()
void addGeometry (GU_Detail *gdp, fpreal shutter)
float addVelocityBlurGeometry (GU_Detail *gdp, fpreal shutter, const char *velocity_attribute="v")
int openProceduralObject ()
void addProcedural (VRAY_Procedural *proc)
int addProcedural (int argc, char *argv[], const UT_BoundingBox *box=0)
void openVolumeObject ()
void addVolume (VRAY_Volume *volume, fpreal shutter)
void setTransform (const UT_Matrix4 &transform, fpreal shutter)
bool changeSetting (const char *name, const char *value, const char *style="object")
bool changeSetting (const char *name, int argc, char **argv, const char *style="object")
bool changeSetting (const char *name, int argc, const int *argv, const char *style="object")
bool changeSetting (const char *name, int argc, const fpreal *argv, const char *style="object")
void setSurface (const char *shader, fpreal=0)
void setDisplacement (const char *shader, fpreal=0)
void setDisplacementBounds (fpreal bounds)
void setComputeN (int value)
void closeObject ()
void * queryObject (const char *name)
int queryTransformSamples (void *object_handle)
const UT_Matrix4queryTransform (void *object_handle, int sample)
const UT_Matrix4queryShaderTransform (void *object_handle, int sample)
const char * queryObjectName (void *handle)
const char * queryRootName ()
int queryGeometrySamples (void *object_handle)
const GU_DetailqueryGeometry (void *object_handle, int sample)
void querySurfaceShader (void *handle, UT_String &shader)
void queryDisplacementShader (void *handle, UT_String &shader)
fpreal queryDisplacementBounds (void *handle)
int queryPhantom (void *handle)
int queryReflectBounce (void *handle)
int queryRefractBounce (void *handle)
void queryReflectScope (void *handle, UT_String &mask)
void queryRefractScope (void *handle, UT_String &mask)

Friends

class VRAY_Instance
class VRAY_Scene
class VRAY_ProcDef


Detailed Description

Examples:

VRAY/VRAY_DemoBox.C, VRAY/VRAY_DemoBox.h, VRAY/VRAY_DemoFile.C, VRAY/VRAY_DemoFile.h, VRAY/VRAY_DemoMountain.C, VRAY/VRAY_DemoMountain.h, VRAY/VRAY_DemoStamp.C, VRAY/VRAY_DemoStamp.h, VRAY/VRAY_DemoVolumeSphere.C, and VRAY/VRAY_DemoVolumeSphere.h.

Definition at line 117 of file VRAY_Procedural.h.


Constructor & Destructor Documentation

VRAY_Procedural::VRAY_Procedural (  ) 

virtual VRAY_Procedural::~VRAY_Procedural (  )  [virtual]


Member Function Documentation

void VRAY_Procedural::addGeometry ( GU_Detail gdp,
fpreal  shutter 
) [protected]

int VRAY_Procedural::addProcedural ( int  argc,
char *  argv[],
const UT_BoundingBox box = 0 
) [protected]

void VRAY_Procedural::addProcedural ( VRAY_Procedural proc  )  [protected]

float VRAY_Procedural::addVelocityBlurGeometry ( GU_Detail gdp,
fpreal  shutter,
const char *  velocity_attribute = "v" 
) [protected]

void VRAY_Procedural::addVolume ( VRAY_Volume volume,
fpreal  shutter 
) [protected]

GU_Detail* VRAY_Procedural::allocateGeometry (  )  [protected]

bool VRAY_Procedural::changeSetting ( const char *  name,
int  argc,
const fpreal argv,
const char *  style = "object" 
) [protected]

bool VRAY_Procedural::changeSetting ( const char *  name,
int  argc,
const int *  argv,
const char *  style = "object" 
) [protected]

bool VRAY_Procedural::changeSetting ( const char *  name,
int  argc,
char **  argv,
const char *  style = "object" 
) [protected]

bool VRAY_Procedural::changeSetting ( const char *  name,
const char *  value,
const char *  style = "object" 
) [protected]

Examples:
VRAY/VRAY_DemoBox.C.

void VRAY_Procedural::closeObject (  )  [protected]

void VRAY_Procedural::freeGeometry ( GU_Detail gdp  )  [protected]

virtual void VRAY_Procedural::getBoundingBox ( UT_BoundingBox box  )  [pure virtual]

virtual const char* VRAY_Procedural::getClassName (  )  [pure virtual]

const fpreal* VRAY_Procedural::getFParm ( int  token  )  const

const fpreal* VRAY_Procedural::getFParm ( const char *  name  )  const

const int* VRAY_Procedural::getIParm ( int  token  )  const

const int* VRAY_Procedural::getIParm ( const char *  name  )  const

fpreal VRAY_Procedural::getLevelOfDetail ( const UT_BoundingBox box  )  [protected]

const char** VRAY_Procedural::getSParm ( int  token  )  const

const char** VRAY_Procedural::getSParm ( const char *  name  )  const

bool VRAY_Procedural::import ( void *  handle,
const char *  name,
UT_String result,
int  idx = 0 
)

bool VRAY_Procedural::import ( void *  handle,
const char *  name,
fpreal value,
int  vectorsize 
)

bool VRAY_Procedural::import ( void *  handle,
const char *  name,
int *  value,
int  vectorsize 
)

bool VRAY_Procedural::import ( const char *  name,
UT_String result,
int  idx = 0 
)

bool VRAY_Procedural::import ( const char *  name,
fpreal value,
int  vectorsize 
)

bool VRAY_Procedural::import ( const char *  name,
int *  value,
int  vectorsize 
)

virtual int VRAY_Procedural::initialize ( const UT_BoundingBox box  )  [pure virtual]

int VRAY_Procedural::lookupParmToken ( const char *  name  ) 

void VRAY_Procedural::openGeometryObject (  )  [protected]

int VRAY_Procedural::openProceduralObject (  )  [protected]

void VRAY_Procedural::openVolumeObject (  )  [protected]

fpreal VRAY_Procedural::queryDisplacementBounds ( void *  handle  )  [inline, protected]

Definition at line 397 of file VRAY_Procedural.h.

void VRAY_Procedural::queryDisplacementShader ( void *  handle,
UT_String shader 
) [inline, protected]

Definition at line 392 of file VRAY_Procedural.h.

const GU_Detail* VRAY_Procedural::queryGeometry ( void *  object_handle,
int  sample 
) [protected]

int VRAY_Procedural::queryGeometrySamples ( void *  object_handle  )  [protected]

void* VRAY_Procedural::queryObject ( const char *  name  )  [protected]

const char* VRAY_Procedural::queryObjectName ( void *  handle  )  [protected]

int VRAY_Procedural::queryPhantom ( void *  handle  )  [inline, protected]

Definition at line 405 of file VRAY_Procedural.h.

int VRAY_Procedural::queryReflectBounce ( void *  handle  )  [inline, protected]

Definition at line 412 of file VRAY_Procedural.h.

void VRAY_Procedural::queryReflectScope ( void *  handle,
UT_String mask 
) [inline, protected]

Definition at line 426 of file VRAY_Procedural.h.

int VRAY_Procedural::queryRefractBounce ( void *  handle  )  [inline, protected]

Definition at line 419 of file VRAY_Procedural.h.

void VRAY_Procedural::queryRefractScope ( void *  handle,
UT_String mask 
) [inline, protected]

Definition at line 431 of file VRAY_Procedural.h.

const char* VRAY_Procedural::queryRootName (  )  [protected]

const UT_Matrix4& VRAY_Procedural::queryShaderTransform ( void *  object_handle,
int  sample 
) [protected]

void VRAY_Procedural::querySurfaceShader ( void *  handle,
UT_String shader 
) [inline, protected]

Definition at line 387 of file VRAY_Procedural.h.

const UT_Matrix4& VRAY_Procedural::queryTransform ( void *  object_handle,
int  sample 
) [protected]

int VRAY_Procedural::queryTransformSamples ( void *  object_handle  )  [protected]

virtual void VRAY_Procedural::render (  )  [pure virtual]

void VRAY_Procedural::setComputeN ( int  value  )  [inline, protected]

Definition at line 338 of file VRAY_Procedural.h.

void VRAY_Procedural::setDisplacement ( const char *  shader,
fpreal  = 0 
) [inline, protected]

Definition at line 333 of file VRAY_Procedural.h.

void VRAY_Procedural::setDisplacementBounds ( fpreal  bounds  )  [inline, protected]

Definition at line 335 of file VRAY_Procedural.h.

void VRAY_Procedural::setSurface ( const char *  shader,
fpreal  = 0 
) [inline, protected]

Definition at line 331 of file VRAY_Procedural.h.

void VRAY_Procedural::setTransform ( const UT_Matrix4 transform,
fpreal  shutter 
) [protected]


Friends And Related Function Documentation

friend class VRAY_Instance [friend]

Definition at line 441 of file VRAY_Procedural.h.

friend class VRAY_ProcDef [friend]

Definition at line 443 of file VRAY_Procedural.h.

friend class VRAY_Scene [friend]

Definition at line 442 of file VRAY_Procedural.h.


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

Generated on Fri May 25 00:10:56 2012 for HDK by  doxygen 1.5.9