Sha256: d221cbff804b7dd61e4fabc6d783da49a0b50b377a84da7263519178794ee558

Contents?: true

Size: 805 Bytes

Versions: 49

Compression:

Stored size: 805 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __REFLEX_FILTER_H__
#define __REFLEX_FILTER_H__


#include <xot/ref.h>
#include <xot/pimpl.h>
#include <rays/image.h>
#include <rays/shader.h>
#include <rays/painter.h>
#include <reflex/defs.h>


namespace Reflex
{


	class Filter : public Xot::RefCountable<>
	{

		typedef Filter This;

		public:

			typedef Xot::Ref<This> Ref;

			Filter ();

			Filter (const Shader& shader);

			virtual ~Filter ();

			virtual void apply (Painter* painter, const Image& image) const;

			virtual void      set_shader (const Shader& shader);

			virtual       Shader& shader ();

			virtual const Shader& shader () const;

			virtual operator bool () const;

			virtual bool operator ! () const;

			struct Data;

			Xot::PImpl<Data> self;

	};// Filter


}// Reflex


#endif//EOH

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
reflexion-0.3.2 include/reflex/filter.h
reflexion-0.3.1 include/reflex/filter.h
reflexion-0.3 include/reflex/filter.h
reflexion-0.2.1 include/reflex/filter.h
reflexion-0.2 include/reflex/filter.h
reflexion-0.1.57 include/reflex/filter.h
reflexion-0.1.56 include/reflex/filter.h
reflexion-0.1.55 include/reflex/filter.h
reflexion-0.1.54 include/reflex/filter.h
reflexion-0.1.53 include/reflex/filter.h
reflexion-0.1.52 include/reflex/filter.h
reflexion-0.1.51 include/reflex/filter.h
reflexion-0.1.50 include/reflex/filter.h
reflexion-0.1.49 include/reflex/filter.h
reflexion-0.1.48 include/reflex/filter.h
reflexion-0.1.47 include/reflex/filter.h
reflexion-0.1.46 include/reflex/filter.h
reflexion-0.1.45 include/reflex/filter.h
reflexion-0.1.44 include/reflex/filter.h
reflexion-0.1.43 include/reflex/filter.h