#include "VRAY_DemoVolumeSphere.h"#include <UT/UT_Vector3.h>#include <UT/UT_FloatArray.h>#include <UT/UT_IntArray.h>#include <UT/UT_RefArray.h>#include <UT/UT_StringArray.h>#include <VRAY/VRAY_Volume.h>Go to the source code of this file.
Classes | |
| class | HDK_Sample::vray_VolumeSphere |
| Volume primitive used by VRAY/VRAY_DemoVolumeSphereC. More... | |
Namespaces | |
| namespace | HDK_Sample |
| This namespace is used to hold all HDK example source code. | |
Functions | |
| VRAY_Procedural * | allocProcedural (const char *) |
| Mantra procedural primitives. | |
| const VRAY_ProceduralArg * | getProceduralArgs (const char *) |
| Dynamic load entry point to query arguments for a procedural. | |
| VRAY_Procedural* allocProcedural | ( | const char * | name | ) |
Mantra procedural primitives.
When a procedural is defined as a dynamic object, the allocProcedural() function is called to build a new instance of the procedural. The name passed in will be the name defined by the table entry. This can be used for: a) Error checking -- you can verify that you're name is what you expect. However, this isn't manditory. b) To have more than one procedural defined per C++ class. Using the name, you can create procedurals of different types.
The argument list for the procedural is specified by a list of arguments. The getProceduralArgs() method should return a pointer to an array of VRAY_ProceduralArg's. The list should be terminated by an entry with default arguments (i.e. null pointers). For example: Arguments can then be queried using the argValue() methods in the procedural Dynamic load entry point to create an instance
Definition at line 129 of file VRAY_DemoVolumeSphere.C.
| const VRAY_ProceduralArg* getProceduralArgs | ( | const char * | ) |
Dynamic load entry point to query arguments for a procedural.
Definition at line 135 of file VRAY_DemoVolumeSphere.C.
1.5.9