Nuke binary plugins 14.1.5
 
Loading...
Searching...
No Matches
DD::Image::PrimitiveContext Class Reference

#include <PrimitiveContext.h>

Public Member Functions

 PrimitiveContext ()
 
void set_geoinfo (GeoInfo *g, GeoInfo *mg=nullptr)
 
GeoInfogeoinfo () const
 
GeoInfomb_geoinfo () const
 
Primitiveprimitive () const
 
const Box3face_uv_bbox ()
 
unsigned face_clipmask ()
 
void set_transforms (MatrixArray *m, MatrixArray *mb=nullptr)
 
MatrixArraytransforms () const
 
const Matrix4matrix (int n) const
 
const Matrix4inverse_matrix (int n) const
 
MatrixArraymb_transforms () const
 
const Matrix4mb_matrix (int n) const
 
const Matrix4mb_inverse_matrix (int n) const
 
const unsigned * indices () const
 
unsigned index (int n) const
 
void setPrimitive (Primitive *primitive)
 
void setPrimitiveIndex (unsigned int index)
 
virtual void addToScene (rPrimitive *primitiveToAdd, Scene *scene)
 
virtual DD::Image::rTrianglenewRenderTriangle (const GeoInfo *info, const Primitive *p)
 
virtual DD::Image::rTrianglenewRenderTriangle (const rTriangle &t)
 
virtual void deleteRenderPrimitive (DD::Image::rPrimitive *p)
 

Public Attributes

std::vector< unsigned int > face_vertices_
 vertex indices of a polygon face
 
std::vector< unsigned int > triangulation_
 face vertex order that defines triangulation of a polygon face
 

Friends

class Scene
 
class GeoInfo
 
class Primitive
 
class ParticlesSprite
 
class PolygonPrimitive
 
class Mesh
 

Detailed Description

A context structure to reference environmental information for the primitive during rendering. Contains pointers to the primitive's parent GeoInfo, the valid MatrixArray for this object, and attribute link pointers to the standard attribute types.

Constructor & Destructor Documentation

◆ PrimitiveContext()

PrimitiveContext::PrimitiveContext ( )

Basic constructor just zeros all pointers.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com