40 #ifndef _GLS_RSO_WRAPPER_H
41 #define _GLS_RSO_WRAPPER_H
46 # include "rso_interface_es_1.h"
57 class AttributeWrapperMap;
58 class EmittedEventHandlerImpl;
122 virtual GLS_EXPORT
void AlphaMode(
int mode );
123 virtual GLS_EXPORT
int AlphaMode(
void );
124 virtual GLS_EXPORT
void AntiAlias(
bool alias );
125 virtual GLS_EXPORT
bool AntiAlias(
void );
132 virtual GLS_EXPORT
int DepthTest(
void );
133 virtual GLS_EXPORT
void DepthTest(
int zbuf );
140 virtual GLS_EXPORT
float LineWidth(
void );
141 virtual GLS_EXPORT
void LineWidth(
float width );
147 virtual GLS_EXPORT
void PolygonEnd(
const int end );
148 virtual GLS_EXPORT
int PolygonOffset(
void )
const;
149 virtual GLS_EXPORT
void PolygonOffset(
const int offset );
150 virtual GLS_EXPORT
int Shading(
void );
151 virtual GLS_EXPORT
void Shading(
const int shading );
153 virtual GLS_EXPORT
void TextureIndex(
int textureIndex );
165 virtual GLS_EXPORT
void Calculate(
double time );
167 virtual GLS_EXPORT
void CalculateBoundingBox(
void );
182 virtual GLS_EXPORT
void Draw();
184 virtual GLS_EXPORT
void GetExtents(
float& x,
float& y,
float& z,
float& x1,
float& y1,
float& z1 );
192 virtual GLS_EXPORT
void Init();
197 const Vector& logicalCoords,
199 const Vector& directionVector,
216 GLS_EXPORT
void SetValue(
int spec, va_list& args );
228 PROCESSING_MOUSE_DRAG,
229 WAITING_FOR_MOUSE_DOWN
233 AttributeWrapperMap* _attributeWrapperMap;
234 EmittedEventHandlerImpl* _rsoEmittedEventHandler;
235 char* _lastEmittedEventInitiatorName;
237 unsigned int _currentCursor;
238 unsigned int _rsoVersion;
virtual int AlphaMode(void)
virtual void PreDraw(const OpenGLMatrices ¤t, Culler &culler)
virtual void CreateObjects()
virtual int MaterialIndex()
The disti::ComponentBase class.
virtual int TextureMagnificationFilter(void)
virtual void UpdateBoundingVolume(void)
virtual void GetTransformedExtents(Vector &min, Vector &max, const GlsMatrixType &matrix, bool resetMinMax=true)
int HandleEmittedEvent(RsoImplBaseInterface::Event *ev)
Definition: dynamic_array.h:62
virtual void Rotate(const Vector &orig, float angle, const Vector &axis)
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:278
virtual int DepthTest(void)
virtual int TextureMinificationFilter(void)
virtual float LineWidth(void)
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL)
virtual int TextureMappingTechnique(void)
virtual int TextureIndex(void)
void ChangeRSO(RsoImplBaseInterface *rso, bool deleteCurrent=true)
virtual DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices)
virtual GlsColor GetBlendColor()
MultitouchState
Definition: gls_rso_wrapper.h:225
virtual void SetBlendColor(const GlsColor &color)
virtual int Shading(void)
Definition: component_base.h:67
Definition: rso_interface_1.h:302
Defines the RSO interface, which provides a generic way of accessing RSOs and other content...
GlsRSOWrapper(RsoImplBaseInterface *rso, unsigned int RSOVersion)
virtual void CopyProperties(DisplayObject *src)
virtual DisplayObject * HandleMultiTouchInput(MouseEvent *mev)
virtual void Calculate(double time)
virtual DisplayObject * handle(DisplayEvent *ev)
void SetValue(int spec, va_list &args)
virtual int LineStippleMultiplier(void)
virtual void SetColor(const GlsColor &color)
Definition: rso_interface_1.h:60
RsoImplBaseInterface * RSOInterface()
Definition: disti_metadata.h:174
Definition: gls_color.h:53
virtual DisplayObject * CloneObject(bool generateNames=false)
virtual DistiAttributeBase & Resource(const char *name)
virtual void GetResources(std::ostream &outstr, GlsResourceFilter *filter=NULL)
virtual int PolygonEnd(void)
virtual int PolygonMode(void)
virtual void GetExtents(float &x, float &y, float &z, float &x1, float &y1, float &z1)
virtual void CopyGeometry(DisplayObject *src)
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array)
virtual float Scale(void)
Definition: display_frame.h:132
virtual DisplayObject * HandleInput(DisplayEvent *ev)
virtual void DeleteInstance()
const char * LastEmittedEventInitiatorName() const
virtual int LineStipplePattern(void)
virtual bool AntiAlias(void)
unsigned int GetRSOVersion() const
Definition: gls_rso_wrapper.h:106
Definition: gls_rso_wrapper.h:64
Definition: gls_resources.h:50
bool AbsolutePlacement() const
Definition: component_base.h:112
static GlsRSOWrapper * CreateInstance(RsoImplBaseInterface *rso, unsigned int RSOVersion)
virtual GlsColor GetColor()
virtual bool LightingEnabled()
Definition: bmpimage.h:46
virtual void Initialize()
virtual bool CullBackFace(void)
virtual bool TextureRepeat(void)