coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

CSG Class Reference

The class CSG is basis class for all Constructive Solid Geometry operations like Union, Merge or Difference. More...

#include <Csg.h>

Inheritance diagram for CSG

Inheritance graph
[legend]
Collaboration diagram for CSG:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { PROPERTY_OBJECTS = 0x0300, PROPERTY_BOUNDEDBY = 0x0301, PROPERTY_OBJECTS2 = 0x0302 }

Public Methods

 DECLARE_ABSTRACT_CLASS (CSG,Primitive)
 CSG ()
virtual ~CSG ()
virtual void setProperty (int nProperty,const Variant &value)
virtual void getProperty (int nProperty,Variant &vValue)const
virtual void acceptOperation (Visitor *pVisitor)
virtual void initRender (Scene *pScene)
virtual Color getColor (Intersection *intersection)
virtual TexturegetTexture (Intersection *intersection)
virtual Vector3 getNormalVector (Intersection *intersection)
virtual bool getBounds (Bounds &bounds)const

Public Attributes

vector< <Primitive> > objects
<BoundingShapebounded_by

Protected Methods

virtual bool getInternalBounds (Bounds &bounds)const

Detailed Description

The class CSG is basis class for all Constructive Solid Geometry operations like Union, Merge or Difference.

It is possible to construct complex objects with these operations. CSG objects hold one or more Primitives.


The documentation for this class was generated from the following file:
  • Csg.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: