GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
Graph.hh File Reference
#include "Effect.hh"
#include "VolumeObjects.hh"
#include "Shader.hh"
#include "GraphI.hh"
#include <set>
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
Include dependency graph for Graph.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QuadInterpolationFunction
struct  PointI
struct  Rect
class  Region
class  CubicInterpolate
class  LinearInterpolation2< C >
class  WaveformInterpolate
class  WaveformBitmap
class  Object3dRender
class  FloatRangeBitmap
class  PartCircleBoolBitmap
class  BoolBitmapFromFloatBitmap2
class  GrayScaleBitmapFromFloatBitmap
class  FloatBitmapFromBoolBitmap
class  ChooseTBitmap< T >
class  FontCharacterString< T >
class  NotBitmap
class  OrBitmap
class  XorBitmap
class  AndNotBitmap
class  EquivalenceClassIntBitmap
class  EquivalenceClassColorBitmap
class  CombineBitmaps< T, K >
class  ChooseBitmap< T >
struct  MaskedBitmap
class  InverseMapBitmap< T >
class  BitmapArray< C >
class  RectBitmap
class  NormalRectBitmap
class  RectCubeFunction
class  LighterBitmap
class  DarkerBitmap
class  DynBitmap< T >
class  MemoizeBitmap
class  InterpolateBitmap
class  GraphBitmap
class  BorderBitmap
class  ModifyBitmap< T >
class  BlitBitmapClass
class  BlitBitmapClassMasked
class  BlitBitmapClassMasked2
class  SubBitmap< T >
class  GrowBitmap< T >
class  TileBitmap< T >
class  TileBitmap2< T >
class  QuadBitmapFromSphere
class  QuadBitmapFromObjects
class  BitmapStore< T >
class  ConvertBitmap< T, K >
class  PosBitmap
class  SubPos
class  BitmapFunction< T >
class  StructBitmap< T, K >
class  ColumnRowBitmap
class  MBitmap< T >
class  MFunction< T >
class  MapBitmap< T1, K, T2 >
class  MapRectBitmap
class  MapRectArray
class  ConstantBitmap< C >
class  ConstantBitmap_Color
class  ConstantBitmap_bool
class  ConstantBitmap_float
class  BitmapRelation< C >
class  RandomBitmap
class  RepeatBitmap< C >
class  SubstituteBitmapPixels< C, T >
class  RotateZoomer< C >
class  CombineBitmapX< C >
class  FloatPointBitmap
class  RowMultiply
class  RowAddition
class  NodeToOne
class  NodeToZero
struct  Cube3
class  HeightMapCubesFromBitmap
class  LayeredBitmap
class  CombineElems< K, T >
class  LayeredBitmap2< T >
class  BitmapCircle
class  PointGrid
class  BitmapFromFile< T >
class  MapFunction
class  ColorMapFunction
class  BitmapFromBuffer
class  BufferFromBitmapCollection
class  BufferFromBitmap
class  FlipColoursInv
class  FlipColours
class  RotateContinuousBitmap< C >
class  InverseCreateContinuousBitmap< T >
class  RandomSamplingBitmap
class  Function2Bitmap< T >
class  BorderBitmap2< T >
class  ConstantContinuousBitmap< C >
class  ContinuousStructBitmap< T, K >
class  MapContinuousBitmap< T1, K, T2 >
class  SpiralContinuousBitmap
class  AndNotColorContinuousBitmap
class  TriangleCoordsContinuousBitmap
class  TriangleContinuousBitmap
class  QuadContinuousBitmap
class  ColorTriangle
class  ColorTriangle2
class  GradientBitmap
class  ContinuousBitmapArray
class  TexturedTriangle
class  CircleContinuousBitmap
class  SampleBitmap
class  ContinuousBitmapFromBitmap< T >
class  BitmapFromContinuousBitmap< T >
class  VoxelNDim< C >
class  MapVoxel< T1, K, T2 >
class  QuadVoxelFromObjects
class  QuadArrayElem
class  QuadBitmapElem
class  QuadVoxelElem
class  StructVoxel< X, Y >
class  CubeVoxel
class  RayTracingFunction0
class  RayTracingFunction1
class  RayTracingFunction
class  RayTrace
class  RayTracingBitmap
class  Maybe< T >
class  MaybeVoxel< C >
class  JustVoxel< C >
class  ColorCube
class  PosContinuousVoxel
class  PlaneBitmap< T >
class  MatrixContinuousVoxel
class  SampleVoxel< T >
class  VoxelToContinuousVoxel< T >
class  VolumeVoxel
class  SphereCoords< T >
class  VoxelToSphere< T >
class  GraphBool< T, K >
class  GraphBool< float, float >
class  GraphBool< std::pair< float, float >, std::pair< float, float > >
class  Graph2< T, K >
class  TwoGraphs< T, K >
class  ColorizeBoolArray< T >
class  BitmapizeArray
class  BitmapCache
class  TriangleHandleValue
class  EnumerateBitmap< T >
class  GenerateSequence
class  GenerateArray< T >
class  GenerateGrid
struct  Cube2
class  Cube2Cube3Function
class  GenerateCube
class  GenerateVoxel< C >
class  FilterHandleValue< T >
class  HandleValueSource< T >
class  CubeHandleValue
class  ScaleTranslateHandleValue< T >
class  ColorHandleValue
class  FaceCollectionHandleValueDynamic
struct  AnimPoint
struct  ObjectId
class  Dynamic
class  HandleValueFunction< T, K >
class  SampledGraph< T, K >
class  PullBack< A, B, C >
class  FunctionBitmap
class  VoxelEffect
class  MarchingCubesVoxel
class  WaveFunction
class  WallsFromMap
class  WallMatrix
class  DivideAndConquer< P, S >
class  MapEffect
class  SuperShape2d
struct  SuperParameters
class  SuperShape3d
class  FunnyArray< T >
class  FunnyChoose< T >
struct  VertexData3d
struct  EdgeData3d
class  GraphToLines
class  FacesFromMap
struct  FacesFromMap::Face
class  GraphFromMap
class  DataRep< T >
class  ConeDataRep
class  RenderGraph< V, E >
class  NormalMapping1
class  ZoomingStep< C >
class  ZoomArray< C >
class  ChoosePointByMouseCursor
class  Monoid< T >
class  CompositionMonoid< T >
class  GroupObject< T >
class  GroupMonoid< T >
class  FloatGroup
class  MatrixGroup
struct  SubSpace
class  RegularPolygon
struct  Line2d
class  Line2dCollection
class  LineIn2d
class  ChooseBitmap2< T >
class  ContainerBitmap< T >
class  LayerBitmap< T >
class  LineIn2d2
class  SplitLines2d
class  SwapLine2dCollection
class  FilterLines
class  Field
class  FieldBitmap
class  DistanceField
class  FindPositionFromCurve
class  ChessBoard
class  CollectBitmapsBitmap< K, T >
class  FlattenBitmap< T >
class  CombineBitmaps2< K, T >
class  ChessBoardBitmap
class  SuperShapeEffect
class  RenderToTextureEffect
class  InterpolateMovementEffect
class  GraphEffect
class  ShaderEffect
class  Effect2dEffect
class  Effect3dEffect
class  SizeBitmapTo2
struct  ThreadInfo_bitmap
class  ThreadedUpdateTexture
class  MeshTexturesImpl
class  ScrollableView
class  Space< T >
class  Space2d< T >
class  MoveMap
class  PhongSpace
class  PairSpace< T >
class  PairSpace2d< T >
class  PointSplitSpace
class  PointPairSpace2d
class  TextureCoordBitmap
class  ZBitmap
class  CylinderMap< T >
class  SphereMap< T >
class  SphereDist
class  GridEffect2
class  BitmapSprite
class  ArraySprite
class  SpriteMesh
class  SpriteTexCoords
class  Data
class  Mandelbrot
class  MandelbrotVolume
class  MapBitmapToColor
class  Heightmap2
class  BitmapTextureSurfaceIn3d
struct  Loop
class  Visitor
class  SizePosVisitor
class  WriteVisitor
struct  Path3d
struct  Path2d
struct  TestStruct
class  IWaveform
class  IWaveFormArray
class  IDynWaveArray
class  IWaveArrayArray
class  IDynWaveArrayArray
class  BitmapPullback< A, B, Z >
class  IntDiagonalBitmap
class  DiagonalBitmap
class  Subset< A, B >
class  BitmapIntersection< A, B, AA, BB >
class  BitmapEnumeration< T >
class  BitmapSubset< A >
class  Sphere
class  RenderPolyToBitmap
class  TextureI
class  TextureIBitmap
class  TexPlane
class  TexBitmap
class  TexAssign
class  TextureITexCoord
class  PlanePoints2d
struct  FBO
class  BitmapVolume
class  Layout
class  Draw
class  DistanceRenderable

Macros

#define THREADS   1

Typedefs

typedef ArrayConvert< Region, int, Rect > RegionConvert
typedef Bitmap< Size > SizeBitmap
typedef ContinuousBitmap< Color > ContinuousColorBitmap
typedef Voxel< Quad > QuadVoxel

Functions

Quad QuadInterpolation (const Quad &q1, const Quad &q2, float val)
std::string MB (long i)
void BlitBitmap (BufferRef ref, int x, int y, Bitmap< Color > &color)
Line PlanePlaneIntersection (const Plane &p1, const Plane &p2)
Cube3 CubeVoxelArea (Voxel< Cube3 > &cubes, PointI p1, PointI p2)
void RenderVoxel (VolumeObject &o, int size, float wholesize, HandleValue< std::pair< Vector, unsigned int > > &hv, VBOState &vbostate)
void RenderVoxel (VolumeObject &orv, int size, float wholesize, HandleValue< std::pair< Vector, unsigned int > > &hv)
template<class P, class S>
S Conquer (DivideAndConquer< P, S > &d, P p)
Point2d IntersectLines (const Line2d &l1, const Line2d &l2)
float AngleLines (const Point2d &intersect, const Point2d &l1, const Point2d &l2)
void * thread_func_bitmap (void *data)
void PrepareGrid (Bitmap< Color > &bm, int cellsx, int cellsy, ArrayRender &rend)
void RenderGrid (Bitmap< Pos > &bm, float x, float y, int cellsx, int cellsy, ArrayRender &rend, int start_x, int start_y, int size_x, int size_y)
void TexturePrepare (const Sprite &s, ArrayRender &rend, bool progress, bool textrender=false)
void TextureEnable (ArrayRender &rend, int frame, bool enable)
void PrepareSprite (const Sprite &s, ArrayRender &rend)
void PrepareSpriteToVA (const Sprite &s, VertexArraySet &vas)
void RenderSprite (const Sprite &s, int frame, Point2d pos, float z, ArrayRender &rend, Program *prog)
void RenderSprite (const Sprite &s, int frame, Point2d pos, float z, ArrayRender &rend, float mult_x, float mult_y, Program *prog)
void RenderSprite (const Sprite &s, int frame, Point2d pos1, Point2d pos2, Point2d pos1_inside, Point2d pos2_inside, float z, ArrayRender &rend, Program *prog)
void PrepareCube (const Bitmap< Range< float > > &bm_alternatives, Point pos, Vector u_x, Vector u_y, Vector u_z, ArrayRender &rend, Data &d, int id)
void RenderCube (const Bitmap< Range< int > > &bm, const Matrix &pos, ArrayRender &rend, Data &d, int id)
void Write (Parser2 *p, char *c, int size, int type, std::string s, bool &success)
std::string WhiteSpace (std::string s)
int Find (std::string s, char c)
void DumpMem (const char *c, int size)
void FontParseTestCases ()

Variables

int sprite_screen_width
int sprite_screen_height
int sprite_target_width
int sprite_target_height

Macro Definition Documentation

◆ THREADS

#define THREADS   1

Typedef Documentation

◆ ContinuousColorBitmap

◆ QuadVoxel

typedef Voxel<Quad> QuadVoxel

◆ RegionConvert

◆ SizeBitmap

Function Documentation

◆ AngleLines()

float AngleLines ( const Point2d & intersect,
const Point2d & l1,
const Point2d & l2 )

◆ BlitBitmap()

void BlitBitmap ( BufferRef ref,
int x,
int y,
Bitmap< Color > & color )
Here is the caller graph for this function:

◆ Conquer()

template<class P, class S>
S Conquer ( DivideAndConquer< P, S > & d,
P p )
Here is the caller graph for this function:

◆ CubeVoxelArea()

Cube3 CubeVoxelArea ( Voxel< Cube3 > & cubes,
PointI p1,
PointI p2 )

◆ DumpMem()

void DumpMem ( const char * c,
int size )
Here is the caller graph for this function:

◆ Find()

int Find ( std::string s,
char c )

◆ FontParseTestCases()

void FontParseTestCases ( )

◆ IntersectLines()

Point2d IntersectLines ( const Line2d & l1,
const Line2d & l2 )
Here is the caller graph for this function:

◆ MB()

std::string MB ( long i)
Here is the caller graph for this function:

◆ PlanePlaneIntersection()

Line PlanePlaneIntersection ( const Plane & p1,
const Plane & p2 )

◆ PrepareCube()

void PrepareCube ( const Bitmap< Range< float > > & bm_alternatives,
Point pos,
Vector u_x,
Vector u_y,
Vector u_z,
ArrayRender & rend,
Data & d,
int id )

◆ PrepareGrid()

void PrepareGrid ( Bitmap< Color > & bm,
int cellsx,
int cellsy,
ArrayRender & rend )
Here is the caller graph for this function:

◆ PrepareSprite()

void PrepareSprite ( const Sprite & s,
ArrayRender & rend )
Here is the caller graph for this function:

◆ PrepareSpriteToVA()

void PrepareSpriteToVA ( const Sprite & s,
VertexArraySet & vas )
Here is the caller graph for this function:

◆ QuadInterpolation()

Quad QuadInterpolation ( const Quad & q1,
const Quad & q2,
float val )
Here is the caller graph for this function:

◆ RenderCube()

void RenderCube ( const Bitmap< Range< int > > & bm,
const Matrix & pos,
ArrayRender & rend,
Data & d,
int id )

◆ RenderGrid()

void RenderGrid ( Bitmap< Pos > & bm,
float x,
float y,
int cellsx,
int cellsy,
ArrayRender & rend,
int start_x,
int start_y,
int size_x,
int size_y )
Here is the caller graph for this function:

◆ RenderSprite() [1/3]

void RenderSprite ( const Sprite & s,
int frame,
Point2d pos,
float z,
ArrayRender & rend,
float mult_x,
float mult_y,
Program * prog )

◆ RenderSprite() [2/3]

void RenderSprite ( const Sprite & s,
int frame,
Point2d pos,
float z,
ArrayRender & rend,
Program * prog )
Here is the caller graph for this function:

◆ RenderSprite() [3/3]

void RenderSprite ( const Sprite & s,
int frame,
Point2d pos1,
Point2d pos2,
Point2d pos1_inside,
Point2d pos2_inside,
float z,
ArrayRender & rend,
Program * prog )

◆ RenderVoxel() [1/2]

void RenderVoxel ( VolumeObject & o,
int size,
float wholesize,
HandleValue< std::pair< Vector, unsigned int > > & hv,
VBOState & vbostate )
Here is the caller graph for this function:

◆ RenderVoxel() [2/2]

void RenderVoxel ( VolumeObject & orv,
int size,
float wholesize,
HandleValue< std::pair< Vector, unsigned int > > & hv )
Here is the caller graph for this function:

◆ TextureEnable()

void TextureEnable ( ArrayRender & rend,
int frame,
bool enable )
Here is the caller graph for this function:

◆ TexturePrepare()

void TexturePrepare ( const Sprite & s,
ArrayRender & rend,
bool progress,
bool textrender = false )
Here is the caller graph for this function:

◆ thread_func_bitmap()

void * thread_func_bitmap ( void * data)

◆ WhiteSpace()

std::string WhiteSpace ( std::string s)

◆ Write()

void Write ( Parser2 * p,
char * c,
int size,
int type,
std::string s,
bool & success )

Variable Documentation

◆ sprite_screen_height

int sprite_screen_height
extern

◆ sprite_screen_width

int sprite_screen_width
extern

◆ sprite_target_height

int sprite_target_height
extern

◆ sprite_target_width

int sprite_target_width
extern