Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members Related Pages
VrmlRenderContext.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 # ifndef VRMLRENDERCONTEXT_H
00022 # define VRMLRENDERCONTEXT_H
00023
00024 # include "common.h"
00025 # include "bvolume.h"
00026 # include "VrmlMatrix.h"
00027
00028 namespace OpenVRML {
00029
00030 class OPENVRML_SCOPE VrmlRenderContext {
00031 BVolume::Intersection cull_flag;
00032 VrmlMatrix * modelview;
00033 bool draw_bspheres;
00034
00035 public:
00036 VrmlRenderContext();
00037 VrmlRenderContext(BVolume::Intersection cull_flag,
00038 VrmlMatrix & modelview);
00039
00040
00041
00042 BVolume::Intersection getCullFlag() const;
00043 void setCullFlag(BVolume::Intersection intersection);
00044 const VrmlMatrix & getMatrix() const;
00045 void setMatrix(VrmlMatrix & modelview);
00046 void setDrawBSpheres(bool f);
00047 bool getDrawBSpheres() const;
00048 };
00049 }
00050
00051 # endif