OpenDAFF C++ API
v1.7
Directional Audio File Format
Main Page
Namespaces
Classes
Files
File List
File Members
include
daffviz
DAFFVizGrid.h
Go to the documentation of this file.
1
/*
2
* -------------------------------------------------------------------------------------
3
*
4
* OpenDAFF - A free, open source software package for directional audio data
5
* Copyright 2016 Institute of Technical Acoustics, RWTH Aachen University
6
* OpenDAFF is distributed under the Apache License Version 2.0
7
*
8
* ------------------------------------------------------------------------------------
9
*
10
*/
11
12
#ifndef IW_DAFF_GRID
13
#define IW_DAFF_GRID
14
15
#include <
daffviz/DAFFVizSGNode.h
>
16
17
// Forward declarations
18
class
vtkActor;
19
20
namespace
DAFFViz
21
{
22
24
32
class
DAFF_API
Grid
:
public
DAFFViz::SGNode
33
{
34
public
:
35
Grid
(
DAFFViz::SGNode
* pParentNode,
unsigned
int
iCellsX = 10,
unsigned
int
iCellsZ = 10 );
36
Grid
(
unsigned
int
iCellsX = 10,
unsigned
int
iCellsZ = 10 );
37
~
Grid
();
38
40
void
SetVisible(
bool
bVisible );
41
43
bool
IsVisible()
const
;
44
45
private
:
46
vtkSmartPointer< vtkActor > m_pActorGrid;
47
48
int
m_iCellsX;
49
int
m_iCellsZ;
50
51
// The initializer generates dynamic objects like source, mapper, actor ...
52
void
init();
53
};
54
55
}
// End of namespace "DAFFViz"
56
57
#endif // IW_DAFF_GRID
DAFF_API
#define DAFF_API
Definition:
DAFFDefs.h:29
DAFFVizSGNode.h
DAFFViz::SGNode
Base class for scene graph nodes.
Definition:
DAFFVizSGNode.h:67
DAFFViz::Grid
Grid object node.
Definition:
DAFFVizGrid.h:32
DAFFViz
Definition:
DAFFVizArrow.h:23
OpenDAFF
is a project from the
Institute of Technical Acoustics
, RWTH Aachen University, Germany.