Agrarsense
|
#include <PhotoCapture.h>
Public Member Functions | |
APhotoCapture (const FObjectInitializer &ObjectInitializer) | |
void | SetupPhotoCapture (FCaptureData NewCaptureData) |
Protected Member Functions | |
virtual void | BeginPlay () override |
virtual void | Tick (float DeltaTime) override |
virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
Private Member Functions | |
void | Capture () |
void | UpdateCameraPositions (const FTransform &Transform) |
void | CaptureImages () |
void | DestroyCameras () |
Private Attributes | |
FCaptureData | CaptureData |
int32 | FrameCounter = 0 |
Definition at line 41 of file PhotoCapture.h.
APhotoCapture::APhotoCapture | ( | const FObjectInitializer & | ObjectInitializer | ) |
Definition at line 10 of file PhotoCapture.cpp.
|
overrideprotectedvirtual |
Definition at line 54 of file PhotoCapture.cpp.
|
private |
Definition at line 73 of file PhotoCapture.cpp.
References CaptureData, CaptureImages(), FCaptureData::CapturePositions, FCaptureData::CurrentCaptureIndex, Destroy, DestroyCameras(), FrameCounter, FCaptureData::FramesToKeepInSamePosition, and UpdateCameraPositions().
Referenced by Tick().
|
private |
Definition at line 120 of file PhotoCapture.cpp.
References FCaptureData::Cameras, CaptureData, and ACamera::SaveCurrentFrameToDisk().
Referenced by Capture().
|
private |
Definition at line 132 of file PhotoCapture.cpp.
References FCaptureData::Cameras, and CaptureData.
Referenced by Capture(), and SetupPhotoCapture().
|
overrideprotectedvirtual |
Definition at line 65 of file PhotoCapture.cpp.
References FCaptureData::Cameras, CaptureData, and FCaptureData::CapturePositions.
void APhotoCapture::SetupPhotoCapture | ( | FCaptureData | NewCaptureData | ) |
Definition at line 19 of file PhotoCapture.cpp.
References FCaptureData::Cameras, CaptureData, FCaptureData::CapturePositions, ACamera::ChangeCameraParameters(), Destroy, DestroyCameras(), ACamera::GetCameraParameters(), FCameraBaseParameters::SaveImageToDisk, FCameraBaseParameters::SendDataToROS, and UpdateCameraPositions().
Referenced by USimulatorJsonParser::ParseDataCapture().
|
overrideprotectedvirtual |
Definition at line 59 of file PhotoCapture.cpp.
References Capture().
|
private |
Definition at line 108 of file PhotoCapture.cpp.
References FCaptureData::Cameras, CaptureData, and Transform.
Referenced by Capture(), and SetupPhotoCapture().
|
private |
Definition at line 73 of file PhotoCapture.h.
Referenced by Capture(), CaptureImages(), DestroyCameras(), EndPlay(), SetupPhotoCapture(), and UpdateCameraPositions().
|
private |
Definition at line 75 of file PhotoCapture.h.
Referenced by Capture().