Go to the documentation of this file.
48 #include "vtkSmartPointer.h"
53 class vtkRenderWindow;
152 void setCamera(vtkRenderer* renderer,
const bool override)
const;
187 bool loop(vtkRenderer* renderer);
190 void saveImage(vtkRenderWindow* renderWindow)
const;
string frameIndexStr() const
NamedEnum< modeType, 2 > modeTypeNames_
scene(const scene &)
Disallow default bitwise copy construct.
autoPtr< DataEntry< scalar > > cameraViewAngle_
View angle.
virtual ~scene()
Destructor.
autoPtr< DataEntry< point > > cameraFocalPoint_
Focal point.
A class for handling words, derived from string.
label nFrameTotal_
Number of frames.
scalar position_
Position [0-1].
bool parallelProjection_
Parallel projection flag.
void readCamera(const dictionary &dict)
Read camera properties.
const word name_
Object name.
scalar position() const
Return the current position (in range 0-1)
label currentFrameI_
Index of current frame.
void initialise(vtkRenderer *renderer, const word &outputName)
const HashPtrTable< DataEntry< vector >, word > & colours() const
Return the colours.
Registry of regIOobjects.
void readColours(const dictionary &dict)
Read solour properties.
autoPtr< DataEntry< point > > cameraPosition_
Position.
void setCamera(vtkRenderer *renderer, const bool override) const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void read(const dictionary &dict)
bool loop(vtkRenderer *renderer)
Main control loop.
A list of keyword definitions, which are a keyword followed by any number of values (e....
label frameIndex() const
Return the current frame index.
void operator=(const scene &)
Disallow default bitwise assignment.
autoPtr< DataEntry< vector > > cameraUp_
Up direction.
word outputName_
Name prefix of output.
scalar dPosition_
Change in position per frame.
const objectRegistry & obr_
Reference to the object registry.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void saveImage(vtkRenderWindow *renderWindow) const
Save image to file.
A HashTable specialization for hashing pointers.
boundBox clipBox_
Clipping box.
autoPtr< DataEntry< scalar > > cameraZoom_
Zoom level.
A bounding box defined in terms of the points at its extremities.
HashPtrTable< DataEntry< vector >, word > colours_
Colours.
word name(const complex &)
Return a string representation of a complex.