This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$gatos = array( | |
array( | |
"id" => 1, | |
"name" => "Titus", | |
"fecha" => new \DateTime(), | |
), | |
array( | |
"id" => 2, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/apps/include/pcl/apps/impl/dominant_plane_segmentation.hpp b/apps/include/pcl/apps/impl/dominant_plane_segmentation.hpp | |
index 7863af4..2a3fe5b 100644 | |
--- a/apps/include/pcl/apps/impl/dominant_plane_segmentation.hpp | |
+++ b/apps/include/pcl/apps/impl/dominant_plane_segmentation.hpp | |
@@ -33,9 +33,11 @@ | |
* | |
*/ | |
+#ifndef Q_MOC_RUN | |
#pragma once |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/visualization/include/pcl/visualization/vtk/vtkRenderWindowInteractorFix.mm 2015-04-07 17:06:23.000000000 -0300 | |
+++ b/visualization/include/pcl/visualization/vtk/vtkRenderWindowInteractorFix.mm 2015-04-07 17:10:59.000000000 -0300 | |
@@ -185,11 +185,19 @@ | |
vtkCocoaRenderWindow *renWin = vtkCocoaRenderWindow::SafeDownCast (this->GetRenderWindow ()); | |
if (renWin != NULL) | |
{ | |
+#if ((VTK_MAJOR_VERSION == 6) && (VTK_MINOR_VERSION >= 2) || (VTK_MAJOR_VERSION > 7)) | |
+ vtkCocoaServerFix *server = reinterpret_cast<vtkCocoaServerFix*> (renWin->GetCocoaServer ()); | |
+#else | |
vtkCocoaServerFix *server = reinterpret_cast<vtkCocoaServerFix*> (this->GetCocoaServer ()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
<style type="text/css"> | |
svg { | |
border:1px solid gray | |
} | |
#countries path { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ScanBot extends BaseRobot | |
run: () -> | |
@shoot() | |
@move_forwards 10, => | |
@move_backwards 10 | |
@turn_left 45, => | |
@_run() | |
tr = new ScanBot("Scan bot") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestRobot1 extends BaseRobot | |
run: () -> | |
@move_forwards 10, => | |
@move_backwards 10 | |
@turn_left 45, => | |
@_run() | |
tr = new TestRobot1("My first test robot") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SuperWallBot extends BaseRobot | |
onInit:() -> | |
@turnLeft(@heading % 90) | |
@turnTurretLeft(Infinity) | |
onIdle:() -> | |
toWall = null | |
if @heading == 0 or @heading == 180 | |
toWall = @ahead(Math.max(@arenaSize.width - @x, @x) - 28) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SittingDuck extends BaseRobot | |
onInit:() -> | |
#Nothing | |
tr = new SittingDuck("Sitting Duck") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main () { | |
UDPSocket sock (9000); | |
sock.joinGroup("239.0.1.1"); | |
const int PACK_SIZE = 4096; | |
const int BUF_LEN = 65540; | |
char buffer[BUF_LEN]; | |
while(true) { | |
unsigned short sourcePort; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 9cfb00970f7d46f1732149d4c50ba3646f038b6c Mon Sep 17 00:00:00 2001 | |
From: Sergey Alexandrov <alexandrov88@gmail.com> | |
Date: Thu, 11 Feb 2016 22:19:01 +0100 | |
Subject: [PATCH 1/4] Use vtkTextureUnitManager to query the number of | |
available texture units | |
The new OpenGL2 backend does not have vktOpenGLHardwareSupport class | |
which was used before. | |
--- | |
visualization/src/pcl_visualizer.cpp | 15 +++++++-------- |
OlderNewer