libjbt

attributenode.h

This is the verbatim text of the attributenode.h include file.

#ifndef jbt_attributenode_h
#define jbt_attributenode_h

#include "ngnode.h"
#include "attribute.h"


class jbt_attributenode : public jbt_ngnode
{
public:


    jbt_attributenode( jbt_attribute*, jbt_blobtree* = 0, bool = true );


    jbt_attributenode( const jColour&, jbt_blobtree* = 0 );

    ~jbt_attributenode();
    
private:
    
    void attribute( jbt_attribute* );
    void attributes( jbt_diffuse*, jbt_specular*, 
                     jbt_scalar*, jbt_scalar*, jbt_scalar* );

    jbt_blobtree::Type type() const { return jbt_blobtree::jbtAttributeNode; }

    jbt_attribute* A;

    bool kill;
};

#endif

JSP / libjbt v0.1 mtigges@cpsc.ucalgary.ca