40#ifndef _COMPONENT_BASE_H
41#define _COMPONENT_BASE_H
50class LiveComponentAccessor;
70 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
114 comp->SetAvailableAttributes( availableAttributes );
115 comp->CreateObjects();
258 const Vector& logicalCoords,
260 const Vector& directionVector,
Definition: disti_metadata.h:87
Definition: component_base.h:68
virtual void CalcDrawMatrix() override
virtual void Location(const Vertex &v) override
virtual const Vertex & Location() const override
Definition: component_base.h:225
GlsMatrixType _editorTransformMatrix
Definition: component_base.h:317
virtual void CreateObjects()
virtual void ChangedAbsolutePlacement(bool val)
static T * CreateComponent(DisplayObject::AvailableAttributesEnum availableAttributes=DisplayObject::GLS_ATTRIBUTES_ALL)
Definition: component_base.h:111
virtual bool UseParentsLighting()
virtual DisplayObject * CloneObject(bool generateNames=false) override
Vertex _absolutePlacementDelta
The delta vector used when using relative placement.
Definition: component_base.h:315
virtual void DeleteAllChildren() override
virtual void Rotate(const Vector &orig, float angle, const Vector &axis) override
virtual void GetResources(std::ostream &outstr, GlsResourceFilter *filter=NULL) override
virtual void SetAvailableAttributes(unsigned int value) override
virtual void ClearDragAndFocus() override
virtual void GetCppInterfaceDescriptionFree(InterfaceListType *array) override
const GlsMatrixType & EditorTransformMatrix() const
virtual void CalculateBoundingBox() override
static bool CheckLiveVersion(ComponentBase *comp, const GlsBuiltVersionInfo &callingVersion=GlsBuiltVersionInfo())
bool _absolutePlacement
Definition: component_base.h:314
void SetValue(int spec, va_list &args) override
virtual void Translate(float tr[]) override
virtual DisplayObject * HandleInput(DisplayEvent *ev)
virtual void Location(float x, float y, float z) override
virtual DistiAttributeBase & Resource(const char *name) override
virtual void GetExtents(float &x, float &y, float &z, float &x1, float &y1, float &z1) override
DisplayFrame * _parentDisplayFrame
Definition: component_base.h:316
virtual int TextureIndex() override
virtual InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) override
virtual DisplayObject * FindByNameSameFrame(const char *name) override
LiveComponentAccessor * _liveAccessor
Definition: component_base.h:313
virtual void CopyProperties(DisplayObject *src) override
virtual void CalculateMatrices(const OpenGLMatrices &newMatrices) override
void NotifyAttributeChanged(const AttributeName &name) override
virtual DisplayObject * Pick3D(const Vector &winLoc, const Vector &logicalCoords, float scale, const Vector &directionVector, Vector &collisionWinLoc, const OpenGLMatrices &drawnMatrices) override
virtual void Initialize()
virtual void Draw() override
virtual void PreDraw(const OpenGLMatrices ¤t, Culler &culler) override
DisplayFrame * ParentDisplayFrame() const
Definition: component_base.h:248
virtual void AbsolutePlacement(bool val)
virtual void SetRedraw() override
virtual void Parent(DisplayFrame *par) override
virtual void GetTransformedExtents(Vector &min, Vector &max, const GlsMatrixType &matrix, bool resetMinMax=true) override
bool AbsolutePlacement() const
Definition: component_base.h:124
virtual void CopyGeometry(DisplayObject *src) override
LiveComponentAccessor * LiveAccessor()
Definition: component_base.h:222
virtual InputHandler * GetInputHandler() override
void ParentDisplayFrame(DisplayFrame *val)
Definition: component_base.h:255
virtual void Scale(float px, float py, float pz, Vertex *parentAnchor, int handleBar=0) override
static ComponentBase * CreateLiveComponent(const char *fileName=NULL, const char *className=NULL, bool performCreate=true, const GlsBuiltVersionInfo &callingVersion=GlsBuiltVersionInfo())
Definition: display_frame.h:87
AvailableAttributesEnum
Definition: display.h:131
virtual int TextureIndex()
Definition: disti_metadata.h:220
Definition: dynamic_array.h:79
Definition: gls_version.h:234
Definition: gls_glo_file.h:1243
Definition: gls_resources.h:51
virtual void Scale(float scale_x, float scale_y)
virtual void Rotate(const Vector &orig, float angle, const Vector &axis) override
virtual const Vertex & Location() const
DisplayFrame * Parent() const
Definition: display.h:945
Definition: live_component_accessor.h:55
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:544
The disti::DisplayFrame class.
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:457
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:214
A file for all GL Studio files to include.
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:52
Used for matching version of libraries and headers.
The disti::Group class. Implements groups of objects.
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47
std::string GetComponentDirectory(void *module)
void SetAbsolutePlacementDefault(bool value)
bool GetAbsolutePlacementDefault()
#define FALSE
False macro, for backward compatibility purposes.
Definition: util.h:107